<?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))
{
print '<pre>';
print_r ($_POST);
}
else
{
print '<p align="center">You Have Accessed This Page Without Filling Out Our Contact Form!<br>Please <a href=" Here</a> To Go To The Form</p>';
}
?>
Ok this works fine, now how would i change the
print '<pre>';
print_r ($_POST);
so I can mail this damn form out, i tried the mail() function but it didnt work
this mail function works if it is by itself and it is my original email script
<?php
$msg = "Sender's Email:\t$emailbox\n\n";
$mailheaders = "From: Lilliek.com\n";
$mailheaders .= "Reply-to: $emailbox\n\n";
mail("DarrynC@hotmail.com", "Email Address", $msg, $mailheaders);
echo "<h3 align=center>Thank You</H3>";
echo "<p align=center class='email'>$emailbox Has Been Added To Our Mailing List.<br>We Do Not Share Our Mailing List With Anyone</p>";
echo "<p align=center class='email'><a href=' to LillieK.Com</a></p>";
?>
is there a way to combine?![[soapbox] [soapbox] [soapbox]](/data/assets/smilies/soapbox.gif)
sleep is good
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))
{
print '<pre>';
print_r ($_POST);
}
else
{
print '<p align="center">You Have Accessed This Page Without Filling Out Our Contact Form!<br>Please <a href=" Here</a> To Go To The Form</p>';
}
?>
Ok this works fine, now how would i change the
print '<pre>';
print_r ($_POST);
so I can mail this damn form out, i tried the mail() function but it didnt work
this mail function works if it is by itself and it is my original email script
<?php
$msg = "Sender's Email:\t$emailbox\n\n";
$mailheaders = "From: Lilliek.com\n";
$mailheaders .= "Reply-to: $emailbox\n\n";
mail("DarrynC@hotmail.com", "Email Address", $msg, $mailheaders);
echo "<h3 align=center>Thank You</H3>";
echo "<p align=center class='email'>$emailbox Has Been Added To Our Mailing List.<br>We Do Not Share Our Mailing List With Anyone</p>";
echo "<p align=center class='email'><a href=' to LillieK.Com</a></p>";
?>
is there a way to combine?
![[soapbox] [soapbox] [soapbox]](/data/assets/smilies/soapbox.gif)
sleep is good