How can I check to see if a number is even?
if ($num%2) { echo "odd number"; } else { echo "even number"; }