Multi-Step Script
| From: | Andrew V. Romero | Date: | Wed, 14 Mar 2001 04:59:01 +0000 |
| Subject: | Multi-Step Script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43768@lists.php.net to get a copy of this message | ||
Is it possible to use different parts of one php script for multiple
html forms? I am not seeing how people create multiple pages of html
forms with each form importing information from the previous form.
Right now, for each html form page I have, I create one php script to
handle it but it would be nice to have just one php script in which only
certain parts execute depending on have variables have assignments. One
way I was thinking of doing this is to have the html forms just keep
posting the information to itself whenever the submit button is hit and
then using a series of if else statements to evaluate where the program
is in relationship to the forms, would this type of system work?
What do you guys do?
-Andrew V. Romero
To reply personally, remove all numbers from address.