Numbers only
Posted: Mon Aug 06, 2007 7:52 am
I have a line of code to check if text only has been entered:
How would I change this to deal with numbers only?
Code: Select all
preg_match('/^[a-z]+$/Di', $var)