title: How can i Get value from textbox
body: <p>I want to get the value of a textbox and display it, and when I try this code .Nothing displays .I dont get any errors What am i doing wrong.</p>
  
  <pre><code>    &lt;form method="post"action=""&gt;
  
      UserName&lt;input type="text"name="name" &gt;&lt;br&gt;
      Pass&lt;input type="text" name="pass"&gt;&lt;br&gt;
      &lt;input type="radio"value="male" name="sex"&gt;M
      &lt;input type="radio"value="female" name="sex"&gt;w
      &lt;br&gt;
      &lt;input type="submit"value="save" name="save"&gt;
      &lt;input type="submit"value="display" name="display"&gt;
  &lt;/form&gt;
  &lt;?php
  
  if(isset($_POST["save"])){
      $name=$_POST["name"];
      $pass=$_POST["pass"];
      $sex=$_POST["sex"];
      $info="$name $pass $sex";
  echo  $info;
  }
  ?&gt;
  </code></pre>