Click to See Complete Forum and Search --> : Passing a form value, writing to page


Duke Will
08-30-2003, 05:29 PM
On this page (http://www.wepay.com), I think that is Pyro's form email script I am using. When someone fills in a donation, could it (or something) do this...

1. Pass the value of the donation pledge
2. Pass the name of the person, extract the first name and first initial of the last name
3. And write this to a table in my page? Or another page if need be.

So that I would end up with a "list" of donation pledges. Or maybe the last five or whatever.

PeOfEo
08-30-2003, 08:03 PM
Are you using php to do it?

Duke Will
08-30-2003, 09:11 PM
Originally posted by PeOfEo
Are you using php to do it?

It is pyro's mailer.php script. Which works great.

PeOfEo
08-30-2003, 11:45 PM
Ok, well I dont know php :( sorry. But you are going to need to eaither query string and redirect the user to the next page with something like thanks.php?somevariable=something&something=something for the url. Pyro will show you how to do that I guess, one more thing is visible and invisible objects just put the value into a hidden text box or something and then make the thank you visible and his text invisible.