Html hidden input data is not passed in url
<p>I used a hidden input field but its data is not shown in the url when I submit the form.</p>

<p>Here is the field:</p>

<pre><code>&lt;input type="hidden" id="id" name="id" &gt;
</code></pre>

<p>And when I submit the form, its value is not shown in the url:</p>

<pre><code>http://localhost/service/service.php?action=update_details&amp;name='.kishor .'&amp;lname='.patil .'&amp;email='.kishor@gmail.com .'&amp;username='.kishor123 .'&amp;password='.1254.'&amp;gender='.male.'&amp;mobile='.9563201487 .'&amp;address='.ads sd fds f.'id1='
</code></pre>

<p>I retrieve all form values through post using this code:</p>

<pre><code> $id = $_GET["edit_id"];
  if(isset($_POST["submit"]))
         {

            $id1 = $_POST["id"];
            $name1=($_POST['name']);
            $lname1=($_POST['lname']);
            $email1=($_POST['email']);
            $username1=($_POST['username']);
            $password1=($_POST['password']);
            $mobile1=($_POST['mobile']);
            $address1=($_POST['address']);
            $gender1=($_POST['gender']);
          }
</code></pre>