...

View Full Version : Code error



digisoft
09-13-2005, 07:10 PM
Howdy

Can you fix some bugs in this code?

www.loddonexplorers.co.uk/form_mailer.php


<?php

$name = $_POST['name'];
$message = $_POST['message;];
$email = $_POST['email'];

if ($_POST['contact'] == 'webmaster')

$email_to = '"Webmaster" <webmaster@londonexplorers.co.uk>';
}else{
$email_to = '"Enquiries" <enquries@londonexplorers.co.uk>';
}

mail($email_to, $name, $message, $email,);

exit
?>

missing-score
09-13-2005, 07:23 PM
I have responded in the other thread:

http://www.codingforums.com/showthread.php?p=354999#post354999

I will close this one :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum