RE: [PHP] parse error
| From: | Brad Sumrall | Date: | Sat, 05 May 2007 02:09:45 +0000 |
| Subject: | RE: [PHP] parse error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254454@lists.php.net to get a copy of this message | ||
Maybe not
The following passes me on without error, but does not actually log me on?
Put in a fake name, and it still passes me on to the index page.
I took this straight off the phpbb help files?
Brad
<?php
if(!isset($_SESSION["userid"]))
{
?>
<form action="/phpbb/index.php" method="post" target="_top">
<?php
}else{
?>
<?php echo $_SESSION["userid"] ?>
</form>
<?php
}
?>