/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function checkNum($num){ return ($num%2) ? TRUE : FALSE; }
URL: http://www.phpro.org/examples/Check-if-number-is-Odd-or-Even.html
function checkNum($num){ return ($num%2) ? TRUE : FALSE; }
URL: http://www.phpro.org/examples/Check-if-number-is-Odd-or-Even.html