<html>
<head>
<link href="main.css" rel="stylesheet" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"><title>EMAIL</title></head>
<body>
<?php
if (array_key_exists('firstName', $_POST) || array_key_exists('lastName', $_POST) || array_key_exists('email', $_POST) ||array_key_exists('accountNumber', $_POST) || array_key_exists('question', $_POST))
{
mail("darryn@cascadecorp.com", "Feedback", $msg, "From: $email"
;
}
else
{
header("Location: }
?>
</body>
</html>
is my script right now
it was working until i put in my mail funtion and now it wont parse, also if i dont put in any value for either of the fields the header wont work and the browser wont redirect.
is my syntax right?![[soapbox] [soapbox] [soapbox]](/data/assets/smilies/soapbox.gif)
sleep is good
<head>
<link href="main.css" rel="stylesheet" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"><title>EMAIL</title></head>
<body>
<?php
if (array_key_exists('firstName', $_POST) || array_key_exists('lastName', $_POST) || array_key_exists('email', $_POST) ||array_key_exists('accountNumber', $_POST) || array_key_exists('question', $_POST))
{
mail("darryn@cascadecorp.com", "Feedback", $msg, "From: $email"
}
else
{
header("Location: }
?>
</body>
</html>
is my script right now
it was working until i put in my mail funtion and now it wont parse, also if i dont put in any value for either of the fields the header wont work and the browser wont redirect.
is my syntax right?
![[soapbox] [soapbox] [soapbox]](/data/assets/smilies/soapbox.gif)
sleep is good