|
||||
PHP Function to check if variable is an Integer
PHP integer check function Added: 2008-05-19 19:49:13 This is a function that will return true if the Variable presented to it is an integer. function isInteger($n) { if (preg_match("/[^0-^9]+/",$n) > 0) { return false; } return true; } Copyright MySpaza.Co.Uk - 2008
|
||||
Comments from other users: