I don't think you want to negate ("!") the preg_match(), as you want the if condition to be true if it finds anything that is not a 0-9, correct?
Thread profile page for "preg_match tells me numbers are symbols!" on http://www.phpbuilder.com.
This report page is a snippet summary view from a single thread "preg_match tells me numbers are symbols!", located on the Message Board at http://www.phpbuilder.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity
| |||||||||||||||||||||||