Hi Gang,
Look at this piece of code
if(isset($_POST['submit']))
{
$name=$_POST['name'];
$email=$_POST['email'];
$phone=$_POST['phone'];
$content="Persons Name". $name . "E-mail " . $email . "phone ". $phone;
mail ("markisaac@tiscali.co.uk", "new contact", "$content");
echo "$content";
echo "We will get back to you";
}
Firstly my submit button is a flash object that links to "javascript:document.form1.submit()".
Whenever I hit 'submit', I get no e-mail, and no echos. If I take away the "if" statement, it e-mails me like crazy (they're all blank of course".
How can I make my submit button work!!
Cheers
Mark