Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 12th, 2005, 9:38 AM   #1
bulio
Hobbyist Programmer
 
bulio's Avatar
 
Join Date: Jul 2004
Location: Location
Posts: 140
Rep Power: 5 bulio is on a distinguished road
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 9:59 AM.
bulio is offline   Reply With Quote
Old Jul 12th, 2005, 9:52 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Jul 12th, 2005, 10:00 AM   #3
bulio
Hobbyist Programmer
 
bulio's Avatar
 
Join Date: Jul 2004
Location: Location
Posts: 140
Rep Power: 5 bulio is on a distinguished road
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)
bulio is offline   Reply With Quote
Old Jul 12th, 2005, 10:21 AM   #4
bulio
Hobbyist Programmer
 
bulio's Avatar
 
Join Date: Jul 2004
Location: Location
Posts: 140
Rep Power: 5 bulio is on a distinguished road
Nvm, I've figured out how to do it all
bulio is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:59 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC