php form set cookie, retrieve cookie problem

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
Jimmy Boy
Forum Newbie
Posts: 1
Joined: Mon Dec 01, 2008 7:40 am

php form set cookie, retrieve cookie problem

Post by Jimmy Boy »

Page values:

PAGE ONE
=====================
winkel_naam
aantal_filialen
adres
postcode
plaats
telefoonnummer
website

submit

PAGE TWO
=====================
voornaam_passagier_1
achternaam_passagier_1
geboortedatum_passagier_1
adres_passagier_1
postcode_passagier_1
woonplaats_passagier_1
telefoonnummer_passagier_1
emailadres_passagier_1

submit

PAGE THREE
=====================
voornaam_passagier_2
achternaam_passagier_2
geboortedatum_passagier_2
adres_passagier_2
postcode_passagier_2
woonplaats_passagier_2
telefoonnummer_passagier_2
emailadres_passagier_2

submit


on the final submit on page three, all data given on page one, two and three should be sent to an email address.

The mailform function is not the problem, i can easily create this. But how do I save the data given on page one and two, to send it together with the information given on page 3 all at once in one email.

I tried figuring out cookies, but i can't get it to work.
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: php form set cookie, retrieve cookie problem

Post by papa »

Via hidden forms or sessions
Post Reply