Re: Re: Now I can't start the session either...
| From: | Brian Dunning | Date: | Tue, 25 May 2004 16:49:34 +0000 |
| Subject: | Re: Re: Now I can't start the session either... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186919@lists.php.net to get a copy of this message | ||
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??