Page 1 of 1
Required for forms?
#1
Posted 29 February 2008 - 03:13 PM
#2
Posted 29 February 2008 - 03:18 PM
throw this in at the beginning of where ever your form action leads to
you can also make sure people include the @ and . in their emails with
if(empty($name) || empty($email) || empty($message )) {
echo "error fill in required fieldsn";
die ("");
}you can also make sure people include the @ and . in their emails with
if(!$mail == "" && (!strstr($email,"@") || !strstr($email,"."))) {
echo "erorr: use a real email address n";
die ("");
}
Page 1 of 1








Sign In »
Register Now!
Help

MultiQuote