Hi, I was able to download a free email php form and modified it a little bit. It works fine for me but the thing is, even if without any entry on the FORMS fields, it will send to my email. I tried to search for trapping methods but I just don’t know much about PHP, super newbie. Can someone help me with this one? I spent 2 hours looking at email php forms but just got errors everytime I incorporate them to this script.
here is the code:
<?php
$email = $_REQUEST[‘email’] ;
$message = $_REQUEST[‘message’] ;
mail( "aer677@gmail.com", “Asta Trading - Web Inquiry”, “$message”, “From: $email” );
?>