> if( $submit ){
> print "I love Montana";
> >>>put form #2 in here w/ action = $PHP_SELF make sure you 
> set $submit2 to
> some value
> )
> elseif( $submit2 ){
> print "Part two of script";
> }
> else{
> >>>put your form in here w/ action= $PHP_SELF
> }

Actually - do it in the reverse order, because then you can do error 
checking and gracefully "drop back" to a previous step if there's an
error.

ie:

if ($step == 3)
{
  // do stuff
}
if ($step == 2)
{
  // do stuff
}
if (!$step)
{
  // do stuff
}

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to