Okay I figured something out. Not sure what, but here goes.
I originally did this:
<?php
if ( $month & $year )
{
echo "The month is $month for the year of $year"
}
else
{
echo "Booooo"
}
?>
This worked so long as neither $month nor $year was equal to 1. However, upon doing this instead:
<?php
if ( $month && $year )
{
echo "The month is $month for the year of $year"
}
else
{
echo "Booooo"
}
?>
...all works well. Not to look a gift horse in the mouth, but what's the significance of "&&" over just "&"?