Re: Transfer variable to next web-page

From: Date: Sat, 17 Nov 2001 18:05:36 +0000
Subject: Re: Transfer variable to next web-page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74991@lists.php.net to get a copy of this message
Use
        $phpVariableName = $htmlVariableName;
Remember to use the $ in front of the variable that you toss from the HTML form. At 10:00 AM 11/17/2001, Olav Drageset wrote:
I just started.. How do you transfer a variable from one web-page to another I try to use a form like this: <? echo("<P> <FORM method='POST' action='join2.php'> text for button <INPUT type='submit' value='Next step'> <INPUT type='hidden' name='htmlVariableName' value='$phpVariableName'> </FORM> "); ?>
and catch it in    join2.php    by:
$phpVariableName=htmlVariableName; echo"$phpVariableName"; This do not work. Can anyone tel me what should be done Neither books, php-manual nor HTML-specification does tel me. Olav -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
Sliante, Richard S. Crawford http://www.mossroot.com mailto:rscrawford@mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!"

« previous php.general (#74991) next »