title: Form Evaluation With PHP
body: <p>I am using form and evaluating it through PHP. Here is my form code:</p>
  
  <pre><code>&lt;form id="LU" method="post" action=""&gt;
  &lt;select name="Login_Select" id="LT"&gt;
  &lt;option value="Please Select LType" selected="selected"&gt;Please Select Login Type&lt;/option&gt;
  &lt;option value="Std"&gt;Student&lt;/option&gt;
  &lt;option value="Fac"&gt;Faculity&lt;/option&gt;
  &lt;/select&gt;
  &lt;div style="padding-top:1.5%" id="Login"&gt;
  &lt;p id="LID"&gt;Group ID: &amp;nbsp;&lt;input id="LL" name="Log" type="text"/&gt;&lt;/p&gt;
  &lt;p id="LP"&gt;Password:&amp;nbsp; &lt;input id="LTP" name="Password" type="password" /&gt;&lt;/p&gt;
  &lt;p id="Err"&gt;Invalid ID Or Password!&lt;/p&gt;
  &lt;input type="submit" value="Login" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And down in the body tag I have a PHP evaluator code like this:</p>
  
  <pre><code>&lt;?php
  if(isset($_POST))
  {
      print_r($_POST);
  ?&gt;
  </code></pre>
  
  <p>But as soon as the page launches it display $_POST array which is empty at that time. </p>
  
  <p>I want that the array will display when user submitted the form so that array has values inserted in text boxes.</p>