Code: Select all
<?php
session_start();
?>Here is the line i'm using to see whats in the session variable i've set earlier
Code: Select all
echo "$_SESSION['logsearch']<br>";[Thu Jun 07 09:09:30 2007] [error] [client 149.161.73.89] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/html/index.php on line 22
It doesnt generate any errors when I put something into a session variable, just when I try to access it. Any tips as to what might be wrong would be appreciated.