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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


Sliante,
Richard S. Crawford

http://www.mossroot.com
mailto:[EMAIL PROTECTED]
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!"


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to