here is the code:
if (!empty($HTTP_POST_VARS['email']))
{
mail($to,$HTTP_POST_VARS['title'],$body);
echo("<p align=\"center\"><font size=\"10\">the email has been sent <img src=\"pics/face-woot.gif\"></font></p>");
}
else
{
echo("<p align=\"center\"><font size=\"10\">the email has NOT been sent<br>make sure you filled in your email address</font></p>");
}
it tests if the user filled out their email in the form, if they didn't fill their email it SHOULD display "the email has NOT been sent
make sure you filled in your email address"
INSTEAD
here is what it displays:
the email has been sent
the email has NOT been sent
make sure you filled in your email address