/ Published in: PHP
![](/img/icon_sav.png?v3)
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
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
function checkNum($num){ return ($num%2) ? TRUE : FALSE; }
URL: http://www.phpro.org/examples/Check-if-number-is-Odd-or-Even.html