RE: [PHP] passing variables from forms to the same page repetatively
| From: | Matthew Loff | Date: | Tue, 17 Jul 2001 06:39:21 +0000 |
| Subject: | RE: [PHP] passing variables from forms to the same page repetatively | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58197@lists.php.net to get a copy of this message | ||
<INPUT TYPE=HIDDEN NAME="name_of_variable" VALUE="value_of_variable">
-----Original Message-----
From: Tim Olsen [mailto:mrtimo@hotmail.com]
Sent: Tuesday, July 17, 2001 2:12 AM
To: php-general@lists.php.net
Subject: [PHP] passing variables from forms to the same page
repetatively
People,
I have 4 forms in four seperate html pages included directly (no links
to
includes) in the same .php file, i have it so all the form actions is
php.self, so when each form is submitted it goes on to display the next
form
in line, using if and else statements, of course. I want to be able to
use
variables created by the first form in the html part of the last form.
What
is the best way to do this?
So far, I can only use variables on the next page (form) that is written
out. After that those variables have no value. Is there some way to
submit
all variables present and assigned with the submission of each form? If
I
make the forms a seperate include file, instead of having them in-line,
how
does this change the ways variables are passed or submitted by each
form?
Thanks, - Tim
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
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