I have looked all around here and online for a solution to this.
The problem is I only want to acceppt letters only. However, if I enter as least one letter, no matter if there are symbols or numbers, then it'll take it. How do I get only letters?
if (!preg_match("/[a-zA-Z]/", $_POST["firstname"]))
$error = "<br />PLease enter a valid first name";