Page 1 of 1

Passing values from Form to Form to Email script

Posted: Tue May 30, 2006 10:28 am
by nawthun
I am new to PhP and having some probs with my forms process.
I have
A. Form 1 - An inventory type form which calcuates totals
B. Form 2 - A pers info form where pers info is inputted (name, email, date, etc.) and the form 1 totals are posted.
C. Email script - Where all the values are passed for emailing to a pre-assigned email address.

My prob is I can get the values from Form 1 to Form 2, but I cannot figure out how to get the form 1 values(totals) to the Email script?

Does this make sense?
Can anyone help pls?
Tku

Posted: Tue May 30, 2006 11:19 am
by PrObLeM
Try using sessions

Posted: Tue May 30, 2006 11:27 am
by tecktalkcm0391
Yeah sessions, or cookies, but sessions would be better, you could also just use the $_GET['variable'] instead of $_POST['variable']. You would just have to change your form from post to get

Posted: Wed May 31, 2006 6:49 am
by nawthun
Thanks vm for the info. I will work with sessions.