I'm working on a simple website with a form which processes the info filled in, to a new page. Which works great. I used:
<form method="post" action="processorder.php">
<input name="x" type="text" id="x" value="" size="35" maxlength="10" />
</form>
<?php $x= $_POST['x']; ?>
<?php echo $x.' ';?>
But now im stuck, because I can't seem to get the info on the new page (the processed information) to be sent to my email. (I've tried without the process part, with formmail. and it works fine)
On the new page with the processed form information I made table's which the info comes up in (no form used on this page). Im not sure on how to move on from here. Is there any way to just send the table to a e-mail? Or which way would be the easiest. I've tried to add two buttons, one to confirm the data then send, also thought about making a oneclick button that sends the formmail then dissapear and then proceed on like a checkout. But I dident get either to work so I would love to just have it simple like, fill in information, click next. your info comes up on a new page and then press send and it comes to my email.
I basicly just need the table with the information from the form sent to my email.
// Thanks in Advance!