Dear Reader,
I want to verify that a string coming from a form does only contain letters for one instance in the other case that it's only made up of numbers.
I've tried following tests:
eregi("([:alpha:])", $fName);
eregi("([a-zA-Z]*)", $fName);
eregi("[a-zA-Z]&[0-9]", $fName);
Also if you have any good page for regular expressions.
Thank you very much