can't get results form php
<p>I develop a select form and used ajax to call the php script to get the results, the ajax works fine and successful connected to the php, but I couldn't get the results form the php</p>

<p>this is my form:</p>

<pre><code>&lt;form method="post" action = "#"&gt;
  &lt;div class="functionitem" id="selector_phot"&gt;
    &lt;select name="photographer"&gt;
       &lt;option&gt;All Photographers&lt;/option&gt;
      &lt;option&gt;John Baldwin&lt;/option&gt;
      &lt;option&gt;Wendy James&lt;/option&gt;
      &lt;option&gt;Ian Smith&lt;/option&gt;
      &lt;option&gt;Rebecca Fortesque-Smythe&lt;/option&gt;
    &lt;/select&gt;
  &lt;/div&gt;
  &lt;div class="functionitem" id="selector_cat"&gt;
    &lt;select name="sets"&gt;
      &lt;option&gt;All Sets&lt;/option&gt;
      &lt;option&gt;Ceremony&lt;/option&gt;
      &lt;option&gt;Lunch&lt;/option&gt;
      &lt;option&gt;Garden&lt;/option&gt;
    &lt;/select&gt;
  &lt;/div&gt;

  &lt;div class="functionitem" id="viewresult"&gt;&lt;span class="button"&gt;&lt;span&gt;&lt;input type="button" class="form_button" value="  View"&gt;&lt;/span&gt;&lt;/span&gt;
   &lt;/div&gt;


   &lt;div class="functionitem" style="margin-right: 60px"&gt;
   &lt;span class="button"&gt;&lt;span&gt;&lt;input type="button" class="form_button" id="guestlogin" value="  Guest Login  "&gt;&lt;/span&gt;&lt;/span&gt;
   &lt;/div&gt;

   &lt;div class="functionitem"&gt;
   &lt;span class="button"&gt;&lt;span&gt;&lt;input type="button" class="form_button" id="register" value="  Register"&gt;&lt;/span&gt;&lt;/span&gt;
   &lt;/div&gt;
</code></pre>

<p></p>

<p>Here is my php script:</p>

<pre><code>   if(isset($_POST['photographer'])&amp;&amp;isset($_POST['sets']))
  {

        echo "results";

 }
</code></pre>

<p>so it should print out the results, but it didn't what did I do wrong, please help, thanks!</p>

<p>here is the ajax code:</p>
