title: Get notification before expiry date
body: <p>I'm trying to get notification before three months of the expiry date for a product. expiry_date column is storing as VARCHAR (storing month and year) in DB.</p>
  
  <pre><code>&lt;select name="month"&gt;
    &lt;?php
     $months = array (
  
   1=&gt;'Jan',2=&gt;'Feb',3=&gt;'Mar',4=&gt;'Apr',5=&gt;'May',6=&gt;'Jun',7=&gt;'Jul',8=&gt;'Aug',9=&gt;'Sep',10=&gt;'Oct',11=&gt;'Nov',12=&gt;'Dec');
     ?&gt;
    &lt;option value=""&gt;Select Month&lt;/option&gt;
     &lt;?php
     foreach ($months as $key=&gt;$value) {
     echo '&lt;option name="'. $key .'"&gt;'. $value .'&lt;/option&gt;';
     }
    ?&gt;
   &lt;/select&gt;
  
   &lt;select name="year"&gt;
   &lt;?php
  $Start_year=date('Y');
   $end_Year=$Start_year+10;
   $yearArray = range($Start_year,$end_Year);
  ?&gt;
  &lt;option value=""&gt;Select Year&lt;/option&gt;
   &lt;?php
  foreach ($yearArray as $key=&gt;$value) {
  echo '&lt;option name="'. $key .'"&gt;'. $value .'&lt;/option&gt;';
   }
   ?&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>If I run this query then it is returning array(0) { } . Someone please help me to find out where I'm wrong</p>
  
  <pre><code>$futureDate = date('Y M', strtotime("+3 months"));
  
  
  SELECT * FROM items WHERE expiry_date&gt;$futureDate 
  </code></pre>