$field = "abc"; if ($field > 0) { print "its a number" } #### $field = "1abc"; if ($field > 0) { print "its a number" }