I'm only a beginner at using regular expressions, and would like to know how to use one to see if $variable contains only digits or not. I.e. I want a statement that returns false if $variable contains any character other than a digit.
Any help would be very much appreciated.
-Ed ;-)
Any help would be very much appreciated.
-Ed ;-)
________________________________
Destiny is not a matter of chance; it is a matter of choice.
Destiny is not a matter of chance; it is a matter of choice.