At 09:32 30/10/2007, Hulf wrote:
Hi, Is there a built in function in PHP5 to determine if an integer is even or odd?
How about : if ($IntegerValue % 2) { // odd } else { // even } HTHJ
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php