Jump to content

Weird Error Line 1


JohnOP

Recommended Posts

Im getting a realy weird error i my page.

 

Parse error: syntax error, unexpected T_VARIABLE in /pathtoroot/subscribers.php on line 1

 

<?php
session_start();

include 'header.php';

include("connect.php");

$username = $_SESSION['username'];

$id = $_SESSION['uid'];

 

How on earth is there an error there lol?

Link to comment
https://forums.phpfreaks.com/topic/251473-weird-error-line-1/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.