Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- "Confirmation" PHP Page for Form


phpmaven - 6:27 pm on Jan 3, 2007 (gmt 0)


You would create a new script called "confirm.php" or whatever and display the results from the first form. Create a hidden form field for every field on the first form.

For Example:
input type="hidden" name="sites" value="<? echo $_POST['sites']?>"
input type="hidden" name="dept" value="<? echo $_POST['dept']?>"
input type="hidden" name="location" value="<? echo $_POST['location']?>"

That form would then post to your "input.php" script. In fact, if you followed my example above, you shouldn't have to change anything in your "input.php" script.


Thread source:: http://www.webmasterworld.com/php/3207050.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com