PHP anyone?
PHP anyone?
Out of context: Reply #5
- Started
- Last post
- 11 Responses
- planet010
hmmm... here's the code - not sure what the issue is
if(isset($_POST['submit'])) {
$to =
$subject = "Feedback -
Frauds, Innaccuracies,
Falsehoods, and Outright
Lies";
$name_field =
$_POST['name'];
$email_field =
$_POST['email'];
$message =
$_POST['message'];$body = "From:
$name_field\n E-Mail:
$email_field\n Message:\n
$message";header ( "Location:
http://www.jimkraus.com/thankyou…
);
mail($to, $subject, $body);} else {
echo "Error - Please re-submit
form";}