title: get value from combo box to php
body: <p>this is my combo box page coding:</p>
  
  <pre><code>&lt;?php
  echo "&lt;form method=post align=center&gt;
  &lt;div id=myDiv&gt;
  &lt;select name=userselect&gt;
  &lt;option value=empty&gt;&lt;/option&gt;
  &lt;option value=Confirm&gt; Confirm &lt;/option&gt;
  &lt;option value=Processing&gt; Processing &lt;/option&gt;
  &lt;option value=Pending&gt; Pending &lt;/option&gt;
  &lt;option value=Cancelled&gt; Cancelled &lt;/option&gt;
  &lt;/select&gt;
  &lt;button type=button name=combobox value=combobox onclick=loadXMLDoc()&gt;Update&lt;/button&gt;
  &lt;/div&gt;
  &lt;/form&gt;";
  ?&gt;
  </code></pre>
  
  <p>this is my php code (another page):</p>
  
  <pre><code>&lt;?php
  if (isset($_POST['combobox']))
  {
      $userselect = $_POST['userselect'];
      echo $userselect;
  }
  ?&gt;
  </code></pre>
  
  <p>if user select one value in combo box that value should store in db and then display what they are selected. for example if user select CONFIRM option that value stored in db after that it display CONFIRM instead of that combo box form and button. Here i can stored the combo box values in db successfully. thats not a problem and then here i used ajax method to show the msg instead of button place. Now, i want what user select it should display the same value. check these above coding and reply me ur suggestions...</p>