PHP Contact Form Validation - HELP!
Hello,
I've created my contact page on my website but I'm not happy with the validation and im getting emails through which are empty and with no contact details??
Could someone please help me!
This is my php code which is linked to my html page
<?php
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "contactus@mammothdesignstudios.com", "MDS2010 Enquiry",
$message, "From: $email" );
header( "Location: http://www.mammothdesignstudios.com/thanks.html" );
?>
I have just used spry for validation but realise this is not the best way to go.
Could someone view my code www.mammothdesignstudios.com/contact_us.html
I'd really appreciate someones help on this,
Thank you!
