I get the surname.Than I do error checking.
if (preg_match("/[\d]/",$surname)) {
$surnameErr = true;
}
The error shown when number is input. However the symbols would not be validated. I ask how to validate all symbols?
Moveover, how to validate all types of country character name with checking no digit and symbols. Thanks.