I'm pretty new to PHP, but I've had lots of errors...LOL
I recently upgraded my local PHP version to 4.2, so I can write 'compliant' code. Anyhow, I'm recieving the following error (in my lame attempts to set a cookie).
Parse error: parse error, unexpected T_STRING in C:\apache\htdocs\reservations\setcookie.inc on line 2
The contents of setcookie.inc are
<? php
setcookie("admin","$admin","$date","/",0)';
?>
which I think is the right format. Does anyone know what a T_STRING is? I can't find any documentation that really explains it.
Thank you for your help!
Diana