/ Published in: PHP
Checks if a integer or string variable contains odd number. Returns true on odd and false on even.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function is_odd( $num ){ }