![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Jul 2004
Location: Location
Posts: 138
Rep Power: 5
![]() |
Hiw to verify form information
Hi everyone,
I have a product submit form in Html that I designed. What I want to do, is make it so that when the user submits the form, they get taken to a page that shows them what they entered for each field, and asks them if it is correct. After that, if they choose yes, it will e-mail me the form contents. How can I do this? (And yes, I would like to code this in PHP) Last edited by bulio; Jul 12th, 2005 at 8:59 AM. |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Your subject line sucks. Almost every post here could be labeled "How do I?". Please read the "How to post...." thread in the C forum.
When a form is submitted its contents are sent to the server. In PHP you can find the contents in the $_POST or $_GET array, depending upon whether or not the form submission was via post or get. Get the values from there and build your email, then send it. Read the PHP manual, use Google, maybe find some tutorials. You should prepare yourself a tad, then come to the forums when you've actually tried something and it doesn't work as expected.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Jul 2004
Location: Location
Posts: 138
Rep Power: 5
![]() |
I have been doing that, and am using $_GET right now. I just need to figure out how to output the $_GET variables onto another page. (Get.php)
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Jul 2004
Location: Location
Posts: 138
Rep Power: 5
![]() |
Nvm, I've figured out how to do it all
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|