title: PHP email send form - drop down list on $_POST send form
body: <p>Here is my html and php code:</p>
  
  <pre><code>&lt;!-- Form Code Start --&gt;
  &lt;form id='contactus' action='&lt;?php echo $formproc-&gt;GetSelfScript(); ?&gt;' method='post' enctype="multipart/form-data" accept-charset='UTF-8'&gt;
      &lt;fieldset &gt;
          &lt;input type='hidden' name='submitted' id='submitted' value='1'/&gt;
          &lt;input type='hidden' name='&lt;?php echo $formproc-&gt;GetFormIDInputName(); ?&gt;' value='&lt;?php echo $formproc-&gt;GetFormIDInputValue(); ?&gt;'/&gt;
          &lt;input type='text'  class='spmhidip' name='&lt;?php echo $formproc-&gt;GetSpamTrapInputName(); ?&gt;' /&gt;
          &lt;div&gt;&lt;span class='error'&gt;&lt;?php echo $formproc-&gt;GetErrorMessage(); ?&gt;&lt;/span&gt;&lt;/div&gt;
          &lt;div class='container'&gt;
              Years Active (from and to):&lt;br/&gt;
              &lt;select name='years_active_from'&gt;
                  &lt;option value='&lt;?php echo $formproc-&gt;SafeDisplay('NULL') ?&gt;'&gt;select&lt;/option&gt;
                  &lt;option value='&lt;?php echo $formproc-&gt;SafeDisplay('from 2013') ?&gt;'&gt;2013&lt;/option&gt;
                  &lt;option value='&lt;?php echo $formproc-&gt;SafeDisplay('from 2012') ?&gt;'&gt;2012&lt;/option&gt;
              &lt;/select&gt;
              &lt;br/&gt;
              &lt;span id='contactus_name_errorloc' class='error'&gt;&lt;/span&gt;
          &lt;/div&gt;
          &lt;div class='container'&gt;
              &lt;input type='submit' name='Submit' value='Submit' /&gt;
          &lt;/div&gt;
      &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I am trying to get the different drop down options to change the  <code>var $years_active_from;</code>  to each of the different years, 2012, 2013 and post <code>NULL</code> if the drop down menu is not used. </p>
  
  <p><code>value='&lt;?php echo $formproc-&gt;SafeDisplay('NULL') ?&gt;'</code> is not changing the <code>$years_active_from</code>, what is the correct coding for this?</p>