php.net is_numeric code example
Example: php is numeric
//is_numeric — Finds whether a variable is a number or a numeric string
is_numeric ( $variable ); // returns true or false
//is_numeric — Finds whether a variable is a number or a numeric string
is_numeric ( $variable ); // returns true or false