Re: Newbie Form Question

From: Date: Fri, 01 Sep 2000 02:22:13 +0000
Subject: Re: Newbie Form Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14720@lists.php.net to get a copy of this message
To simply see the values submitted, use: echo "$var"; , where $var is the name you have given to an input field in your form. All this inside <?php ?> tags of course. Other than that, there are probably infinite possibilities ... it depends what you want to do. But $var as used above will 'extract' the value in most cases. Also, all the values submitted should be available in an array in $HTTP_GET_DATA. For example, echo $HTTP_GET_DATA["var"]; where the "var" is the name in a form's input field. Michael Hall ----- Original Message ----- From: King Georgie <jamescasey@esatclear.ie> To: <php-general@lists.php.net> Sent: Friday, September 01, 2000 10:05 AM Subject: [PHP] Newbie Form Question > How do I extract values from a form submit?? > > eg > > when users submit they go to a page where i want to have php code to extract > the GET values > > i couldnt find any help in the php manual > > THANKS > > > > -- > 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 >

« previous php.general (#14720) next »