title: Test if number is odd or even
body: <p>What is the simplest most basic way to find out if a number/variable is odd or even in PHP?
  Is it something to do with mod?</p>
  
  <p>I've tried a few scripts but.. google isn't delivering at the moment.</p>