OK, went through tutorials at PHPfreaks.com, SitePoint.com and read up on sessions here but cant figure this out...
<?php
session_start ();
$username =$_POST ['Name' ];
$_SESSION['user'] = $username;
?>
and it gives me this error
Parse error: parse error, unexpected T_VARIABLE in /opt/sys/data/billcoronato_com/www/verify.php on line 28
its coming from a Form with a value for name. When i comment out the second line($_SESSION['user'] = '$username'😉 and add in an the following line (echo $username) it echos the value that I enter.
anybody have any insight?
Thanx
Chad