You need to register you varible first with the session

-----Original Message-----
From: David Rice [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:10 PM

Here's something i can't get working it won't go to the last clause of this
page.... i don't think it can set the session variable

anyone see what im doing wrong? i need more caffeine to get my brain fired
up today lol..


<? session_start();?>
<? if ( !$SUBMIT ){ ?>
        <form action="<? echo $PHP_SELF; ?>" method="post" name="TEST">
        <input name="name" type="text" value="name" size="20" maxlength="20">
        <input name="SUBMIT" type="submit" value="SUBMIT">

                $_SESSION["name"] = $HTTP_POST_VARS["name"];
                <a href="<? echo $PHP_SELF; ?>"> next </a>
        elseif( ( $SUBMIT ) && (  isset ( $_SESSION["name"] ) ) ) {
                echo $_SESSION["name"];

Stay in touch with absent friends - get MSN Messenger

PHP Database Mailing List (
To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to