On May 25, 2004, at 9:06 AM, Craig wrote:
It doesnt necessarily mean the error occured on that line, that may have
been the last executed statement
post a few more lines or we cant help you.
<?php
// Start the session if (! session_id()) session_start();
if (not is_string($_SESSION['login_status'])) { $_SESSION['login_status'] = 'false'; }
if ($_SESSION['login_status'] == 'false') { echo " Sign In"; } else { echo " Sign Out"; } ?>
Which looks OK to me, but it returns:
Parse error: parse error, unexpected T_STRING in c:\inetpub\wwwroot\palms\htdocs\start-selling.php on line 3
What's going on here??
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php