Re: passing variables again

From: Date: Wed, 07 Mar 2001 21:01:50 +0000
Subject: Re: passing variables again
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42951@lists.php.net to get a copy of this message
Try using an array, such as name[], with NO SUBSCRIPT, to store the chosen items. That will be passed as a form variable and can be stepped through on the next page where you can parse step through the array and create the form. You could probably do this all in the same form, setting variables which will control the generation of HTML, thereby controlling the display. Miles Thompson At 08:43 PM 3/7/01 +0000, george wrote:
I am trying to write a script which allows you to build a PHP mailto form online, but I am stuck if you go to www.wisemonkeydesign.co.uk/wise/mailto.htm after step 3 when you have to create, ho do I pass the HTML code and names of the fiels into the next page.
     for instance the user has choosen three fields and a text area
and if you look at the source on step three <input type="text" name="???????"> <input type="text" name="???????"> <input type="text" name="???????"> <textarea name="?????" cols="??" rows="??"></textarea> how do I transfer that code into the form.It would be easy enough if there was a set number of fields. TIA george -- 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 (#42951) next »