Pity the HTML is so bad in this tutorial. A site that purports to be authoritative (at least enough to be providing tutorials) should know how to use HTML properly.
if(!$_POST['name'] || strlen($_POST['name'])<3 || strlen($_POST['name'])>50)
{
$errors['name']='Please fill in a valid name!<br />Must be between 3 and 50 characters.';
}
This is a little presumptuous. "Sorry, people with 2- and 51-letter names."
5 comments
[ 5.0 ms ] story [ 23.8 ms ] threadThis is a little presumptuous. "Sorry, people with 2- and 51-letter names."