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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
ybdl
Forum Newbie
Posts: 3
Joined: Fri Oct 25, 2002 12:45 am

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

Post 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
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

First

Post 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!!!
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

front page

Post 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.
User avatar
ybdl
Forum Newbie
Posts: 3
Joined: Fri Oct 25, 2002 12:45 am

Thank U

Post by ybdl »

:) Thanks
Post Reply