My attempt is to put the form page into an e-mail and send it to a user,
most likely to be the president of the company.
We are non-profit, and I am working on new stuff here so any help is appreciated.
I realize that his e-mail can be added to the spamers but he didnt care...
Page two is the one I am having problems with...
Edit Sorry... lol sorry...
The problem is such that, when I fill out all the blanks, it creates the e-mail but it does not put in the info... I tried putting it into a text field but the php Variables would not find from the last page.
When I send the e-mail as is, it sends a blank e-mail and with a subject...
I am trying to get it to send data from the previous page. Being Form.html
that works beautifully, but page two does not.
Page 2
Processed.php
"" =================================================
<body>
<h1>Changing Peoples's Lives International Ministries</h1>
<h2> Your info has been sent to CPL International Ministries</h2>'
<form action='amphix34_24zB.php' method='post'> //leads to the final page
Email: <input type='text' name='email'><br> //start of email info
Mail body:<br clear="left" />
<?php
/* Page made by: Craig Engbrecht
Last Updated: November 19, 2007
This Scrpit posts your info into CPL Int.
And tells you the date it was sent.
*/
// Short Variable names.
$name = $_POST['name'];
$organization = $_POST['organization'];
$mailing = $_POST['mailing'];
$city = $_POST['city'];
$state = $_POST['state'];
$zipcode = $_POST['zipcode'];
$country = $_POST['country'];
$phonenumber = $_POST['phonenumber'];
$email = $_POST['email'];
$startdate = $_POST['startdate'];
$enddate = $_POST['enddate'];
$note = $_POST['note'];
echo '<p>Information sent on ';
echo date('H:i, jS F');
echo '</p>';
//displays what was sent.
echo '<p>The information you have sent: </p>';
echo 'Name: <br />';
echo $name.' <br />';
//Shortened...
?>
<br>
<input type='submit' value='Send comments'>
</form>
</body>
"" =================================================