
November 7th, 2005
11:43 AM
Neverside Newbie
Status: Offline!
sending form information to a page, then to email
I have a form on my webpage, that once filled out I would like sent to a "confirm.php" page which displays what the user has entered, then on that confirm.php page a submit buttom, which then emails all that information. I cant find any tutorials on this, only sending it to email, or to the page itself.
also, having the page generate an ID that counts upwards from 1, and adds this value to the email header. I guess I'd have a counter.txt which it would write the value its up to, then count from there.
anyone able to help?
regards
josh

November 16th, 2005
10:14 PM
Neversidian
Status: Offline!
In confirm.php get it to echo all the information from the previous submitted form, like so:
<?php
echo $_POST['fieldname'];
?>
etc.
and then write these to hidden input values in a form:
<?php
echo "<input type='hidden' name='fieldname' value='".$_POST['fieldname']."'>";
?>
etc.
And then have the submit button of that form to send the data to finish.php (for example) which handles the emailing.
Hope I've helped 

November 22nd, 2005
07:03 PM
Neverside Newbie
Status: Offline!
You've helped greatly. I didn't think it'd be so easy 