Page 1 of 1

HELP::multiparted php form... pass variables??

Posted: Fri Oct 25, 2002 12:45 am
by ybdl
I am pretty new to the PHP world... and I am trying to do the following for a website.
I am trying to create a script that will allow me to call html/php forms and then pass variables from one form to the other. This is supposed to be a member registration script....

First, a visitor can come and join the service by choosing a membership type and depedending on the membership type they should get a different form... for example for membership type "A" you should get a form with the contact information and when the user clicks on the "submit" button I want them to go to the billing information form for memtype A.... and when they are done it gets validated and a confirmation page with all the variables from the whole registration process will be displayed, and when they are done it needs to go into the MySQL DB...

Could anyone please help?? Oh by the way there are three types of membership... each with their seperate form parts after the first dropdown form...

I will be using

Code: Select all

<form method=POST name=formA action=<? $PHP_SELF ?>
thank you

david

First

Posted: Fri Oct 25, 2002 6:40 am
by AVATAr
Before that read: Forum Sticky

Then make the form (with dramweaver, frontpage, netscape... what you want)

Then: change de names of the text boxes to your forms vars... like $name, $mail, etc..

start with that

hope it helps

PS: search the forum!!!

front page

Posted: Fri Oct 25, 2002 1:33 pm
by phpScott
ackk front page is the :twisted: on any pages I have seen. Talk about trucking in the excess baggage, and don't even get me started on frontpage extensions.
I going to run away now.

Thank U

Posted: Sun Oct 27, 2002 3:28 am
by ybdl
:) Thanks