on 14.03.2001 5:59 Uhr, Andrew V. Romero at [EMAIL PROTECTED]
wrote:
> 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
Good point
Kevin Leavell
[EMAIL PROTECTED]
P 406.829.8989
C 406.240.4595
---> -Original Message-
---> From: Jason Murray [mailto:[EMAIL PROTECTED]]
---> Sent: Tuesday, March 13, 2001 11:59 PM
---> To: 'Leavell Digital Design'; [EMAIL PROTECTED]
---> Subject: RE
> 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, be
On Wed, 14 Mar 2001 15:29, Andrew V. Romero wrote:
> 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 pag
Use switch with includes for each step.
switch()
{
case 1:
include(filestep1.php)
break;
case 2:
include(filestep2.php)
break;
default:
include(form.php)
}
but this way you can have a hierarchy
and possibly run form one section into
5 matches
Mail list logo