title: Undefined variable php notice workaround?
body: <p>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.</p>
  
  <p>For example, to remove an undefined variable notice I have to turn the following code:</p>
  
  <pre><code>if($the_month != $row['the_month'])
  </code></pre>
  
  <p>into </p>
  
  <pre><code>if(isset($the_month)  &amp;&amp;  $the_month != $row['the_month'])     
  </code></pre>
  
  <p>Is there another way around this? This solution seems like a time waster to me.</p>