RE: [PHP] parse error when requiring
| From: | jimtronic | Date: | Thu, 06 Dec 2001 15:55:20 +0000 |
| Subject: | RE: [PHP] parse error when requiring | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76900@lists.php.net to get a copy of this message | ||
You forgot the semicolon (;) after session_start()
This works fine, but now i made the files sessionstart.php and bottom.php-- Jim Musil --------- Multimedia Programmer Nettmedia ------------- 212-629-0004 jim@nettmedia.comsessionstart.php -------------------------- <? session_start() if ($SessieEIA->Login == 1) { ?> bottom.php -------------------------- <? } else { require "error.php"; } ?> And i require these files on top resp. bottom of the page and i get twoparse errors.