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?
I’ve tried a few scripts but.. google isn’t delivering at the moment.
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?
I’ve tried a few scripts but.. google isn’t delivering at the moment.