Merry Christmas to everyone.
I have a problem regarding my error validation in a form. I want to validate the input to be purely number only. ( 0 - 9 ). I want to detect the special characters.
if(!preg_match("/[^a-zA-Z]/",$variable))
This is my preg_match but it only detects alphabet, what will be my addition in this preg_match to detect all special characters, including the characters in shift+number.
Thanks.