Shaun wrote: > Hi, > > is it possible to capture $_POST variables sent from a > previous page so i can send them on to the next page? > > Thanks for your help.
might wanna try (before any output, including spaces): <?php session_start(); foreach($_POST as $Key => $Value) $_SESSION[$Key] = $Value; But consider some checks to test if no values from $_SESSOIN are accidently overwritten (a user can post ANY value to ANY page he/she wants, this is NOT restricted to the form fields you have defined). ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php