I just turned on notices because it has some important information I need with debugging... with that being said, I find the undefined variables to be a real pain in the butt.
For example, to remove an undefined variable notice I have to turn the following code:
if($the_month != $row['the_month'])
into
if(isset($the_month) && $the_month != $row['the_month'])
Is there another way around this? This solution seems like a time waster to me.