title: Approve/Reject Records by using AJAX/PHP/MySQL
body: <p>I have a one for which shows list of information in tabular format. Now I added one column in this table which have drop down list with 2 options approve &amp; reject. Now I want to update status of single record when he select option from drop down list and I want to do it by using AJAX.</p>
  
  <p><strong>PHP Code</strong>:</p>
  
  <pre><code>&lt;form name="post_action" method="post" action="" id="post_action"&gt;
  &lt;select name="post_status" id="&lt;?=$row['id']; ?&gt;" style="width:175px; float:left; height:25px;" &gt;
  &lt;option selected="selected" disabled="disabled"&gt;--Select--&lt;/option&gt;
  &lt;option value="1"&gt;Approved&lt;/option&gt;
  &lt;option value="2"&gt;Rejected&lt;/option&gt;
  &lt;option value="3"&gt;Pending&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p></p>
  
  <p>If you have any solution then please share it with me.</p>