how to make check value is same number php code example Example: php is variable a number if(is_numeric($what_am_i)){ //true }