title: What l am going wrong when in my signup application
body: <p>I am writing a web sign up form and related php
  I have installed Xampp in my computer..
  I had written  <code>newindex.php</code> like below</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;title&gt;Title of the document&lt;/title&gt;    
  &lt;/head&gt;    
  &lt;body&gt;
  
  &lt;form action="signup.php" method="post" &gt;
      &lt;input type="text" name="first" placeholder="Firstname"&gt;&lt;br&gt;
      &lt;input type="text" name="last" placeholder="Lastname"&gt;&lt;br&gt;
      &lt;input type="text" name="uid" placeholder="Usernmae"&gt;&lt;br&gt;
      &lt;input type="password" name="pwd" placeholder="Password"&gt;&lt;br&gt;
      &lt;button type="submit"&gt;Sign Up&lt;/button&gt;
  &lt;/form&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>the above code which is HTML code for my signup where there are four fields first name last name uid along with password and I used method POST</p>
  
  <p>where my action is <code>signup.php</code> and method is <code>post</code></p>
  
  <p>here is my  <code>signup.php</code>  </p>
  
  <pre><code>    &lt;?php        
  
      include 'dbh.php';        
  
      $first= $_POST['first'];
      $last= $_POST['last'];
      $uid= $_POST['uid'];
      $pwd= $_POST['pwd'];        
  
      echo $first."&lt;br&gt;";
      echo $last."&lt;br&gt;";
      echo $uid."&lt;br&gt;";
      echo $pwd."&lt;br&gt;"; 
  ?&gt;
  </code></pre>
  
  <p>when I am running I m getting the following...on the browser  </p>
  
  <p>which is incorrect</p>
  
  <p>-----current output-------------</p>
  
  <pre><code>&lt;?php    
  
  include 'dbh.php';    
  
  $first=$_POST['first'];
  $last=$_POST['last'];
  $uid=$_POST['uid'];
  $pwd=$_POST['pwd'];    
  
  echo $first."&lt;br&gt;";
  echo $last."&lt;br&gt;";
  echo $uid."&lt;br&gt;";
  echo $pwd."&lt;br&gt;";   
  
  ?&gt;
  </code></pre>
  
  <p>the above output is wrong ,it should be the values when user insert into the form which i created earlier</p>
  
  <p>how can I fix this ...</p>
  
  <p>any help will be welcome</p>
  
  <p>where I m going wrong ...</p>
  
  <p>so is my extension correct , is there a problem in PHP installation</p>