title: how to remember input data in the forms even after refresh page ,the page is in the form of link
body: <p>Code from playingcards-quote.php:</p>
  
  <pre><code>&lt;?php 
              &lt;div class="main"&gt;
                 &lt;form id='contactus' action='&lt;?php echo $formproc-&gt;GetSelfScript(); ?&gt;' method='post' accept-charset='UTF-8'&gt;
              &lt;div class="container"&gt;
                              &lt;div&gt;&amp;nbsp;&lt;/div&gt;
              &lt;?php//echo $_SERVER['PHP_SELF'];?&gt;
              &lt;input type='hidden' name='submitted' id='submitted' value='1'/&gt;
              &lt;input type='hidden' name='&lt;?php echo $formproc-&gt;GetFormIDInputName(); ?&gt;' value='&lt;?php echo $formproc-&gt;GetFormIDInputValue(); ?&gt;'/&gt;
              &lt;input type ='hidden' class='spmhidip' name='&lt;?php echo $formproc-&gt;GetSpamTrapInputName(); ?&gt;' /&gt;
              &lt;div&gt;
              &lt;span class='error' style="font-size: 12px;"&gt;&lt;?php echo $formproc-&gt;GetErrorMessage(); ?&gt;&lt;/span&gt;
              &lt;span class='error' style="font-size: 12px;"&gt;&lt;?php echo $validation_errors; ?&gt;&lt;/span&gt;
              &lt;/div&gt;
              &lt;div style="width:800px;"&gt;
              &lt;div style="float:left;width:350px;"&gt;
                &lt;div class='container'&gt;
                  &lt;label for='email' &gt;Plastic Coated Paper :&lt;/label&gt;&lt;br/&gt;
                  &lt;select name='paper' id='paper' value='&lt;?php echo htmlentities($disp_paper) ?&gt;' maxlength="50" onchange="chgSelect('coatedpaper');"&gt;
                                        &lt;option selected value="0"&gt;Select Paper&lt;/option&gt;
                                        &lt;option&gt;Black Centered 330&lt;/option&gt;
                                        &lt;option&gt;Black Centered 320&lt;/option&gt;
                                        &lt;option&gt;Black Centered 315&lt;/option&gt;
                                        &lt;option&gt;Black Centered 305&lt;/option&gt;
                                        &lt;option&gt;Black Centered 300&lt;/option&gt;
                                        &lt;option&gt;Black Centered 280&lt;/option&gt;
                                        &lt;option&gt;White Centered 330&lt;/option&gt;
                                        &lt;option&gt;White Centered 320&lt;/option&gt;
                                        &lt;option&gt;White Centered 315&lt;/option&gt;
                                        &lt;option&gt;White Centered 305&lt;/option&gt;
                                        &lt;option&gt;White Centered 300&lt;/option&gt;
                                        &lt;option&gt;White Centered 280&lt;/option&gt;
                                      &lt;/select&gt;
              &lt;/div&gt;
          &lt;div class='container'&gt;
              &lt;label for='name' &gt;First Name*: &lt;/label&gt;&lt;br/&gt;
              &lt;input type='text' name='name' id='name'  maxlength="50" /&gt;&lt;br/&gt;
              &lt;span id='contactus_name_errorloc' class='error' style="font-size: 12px;"&gt;&lt;/span&gt;
  
          &lt;/div&gt;
          &lt;div class='container'&gt;
              &lt;label for='email' &gt;Email Id*:&lt;/label&gt;&lt;br/&gt;
              &lt;p id="demo"&gt;
              &lt;input type='text' name='email' id='email' maxlength="50" /&gt;&lt;br/&gt;
              &lt;div id="hello"&gt;
  
          &lt;/div&gt;
          &lt;/p&gt;
              &lt;span id='contactus_email_errorloc' class='error' style="font-size: 14px;color:#D32626;background-color: #fff;
          font-weight: 800;"&gt;&lt;/span&gt;
          &lt;script&gt;
          document.getElementById("demo").addEventListener("click", myFunction);
  
          function myFunction() 
          {
              document.getElementById("hello").innerHTML = "&lt;a href='http://www.alltypesofplayingcards.com/diwakar/customplayingcards/verification.php' target='_blank'&gt;Please click on this link to verify your email address&lt;/a&gt;";
          }
          &lt;/script&gt;
          &lt;div class='container'&gt;
              &lt;input type='submit' name='Submit' value='Submit' /&gt;
              &lt;br&gt;
          &lt;/div&gt;
      verification.php
      &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
       &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head&gt;
          &lt;title&gt;Custom Playing Cards &gt; Email Verification&lt;/title&gt;
            &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
          &lt;link href="css/style.css" type="text/css" rel="stylesheet" /&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
      &lt;div id="header"&gt;
              &lt;h3&gt;Custom Playing Cards &gt; Email Verification&lt;/h3&gt;
          &lt;/div&gt;
      &lt;div id="wrap"&gt;
  
      &lt;?php
  
              mysql_connect("localhost", "playingc_diwakar", "P@ssw0rd12345") or die(mysql_error()); // Connect to database server(localhost) with username and password.
      mysql_select_db("playingc_diwakar") or die(mysql_error()); // Select registrations database.
  
        if(isset($_POST['name']) &amp;&amp; !empty($_POST['name']) AND isset($_POST['email']) &amp;&amp; !empty($_POST['email'])){
          $name = mysql_escape_string($_POST['name']); // Turn our post into a local variable
          $email = mysql_escape_string($_POST['email']); // Turn our post into a local variable
          if(!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)){
         $msg = 'The email you have entered is invalid, please try again.';
      }else{
          // Return Success - Valid Email
          $msg = 'Your account has been made, &lt;br /&gt; please verify it by clicking the activation link that has been send to your email.';
      }
      $hash = md5( rand(0,1000) );
      $password = rand(1000,5000);
      $result = mysql_query("INSERT INTO users (username, password, email, hash) VALUES(
      '". mysql_escape_string($name) ."',
      '". mysql_escape_string(md5($password)) ."',
      '". mysql_escape_string($email) ."',
      '". mysql_escape_string($hash) ."') ") or die(mysql_error());
      if (!$result) {
          die('Invalid query: ' . mysql_error());
      }
      $to      = $email; // Send email to our user
      $subject = 'Signup | Verification'; // Give the email a subject
      $message = '
  
      Thanks for signing up!
      Your account has been created, you can login with the following credentials after you have activated your account by pressing the url below.
  
      ------------------------
      Username: '.$name.'
      Password: '.$password.'
      ------------------------
  
      Please click this link to activate your account:
      http://www.alltypesofplayingcards.com/diwakar/customplayingcards/playingcards-quote.php?email='.$email.'&amp;hash='.$hash.'
  
      '; // Our message above including the link
  
      $headers = 'From:noreply@yourwebsite.com' . "\r\n"; // Set from headers
      mail($to, $subject, $message, $headers); // Send our email
      }
  
      ?&gt;
  
  
  
              &lt;!-- stop php code --&gt;
  
              &lt;!-- title and description --&gt;
              &lt;h3&gt;Email Verfication&lt;/h3&gt;
              &lt;p&gt;Please enter your name and email addres &lt;/p&gt;
              &lt;?php
          if(isset($msg)){  // Check if $msg is not empty
              echo '&lt;div class="statusmsg"&gt;'.$msg.'&lt;/div&gt;'; // Display our message and wrap it with a div with the class "statusmsg".
          }
      ?&gt;
  
              &lt;!-- start sign up form --&gt;
              &lt;form action="" method="post"&gt;
                  &lt;label for="name"&gt;Name:&lt;/label&gt;
                  &lt;input type="text" name="name" value="" /&gt;
                  &lt;label for="email"&gt;Email:&lt;/label&gt;
                  &lt;input type="text" name="email" value="" /&gt;
  
                  &lt;input type="submit" class="submit_button" value="Sign up" /&gt;
              &lt;/form&gt;
              &lt;!-- end sign up form --&gt;
  
          &lt;/div&gt;
          &lt;!-- end wrap div --&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>I have a form playingcards-quote.php in this i have some dropdown item ,name as input and email .i have entered "Black Centered 305" for dropdown and "name" as xyx for input text, when the user click the email input box a link display below the input email and when i click on the link a new tab open as verifcation.php there i enter email and name and submit it ,the link then goes to my gmail id and when i open my gmail account to open my link the page open but i m not abe to keep the data of "Black Centered 305" and "name"  after refresh page . </p>
  
  <p>I have a form playingcards-quote.php in this i have some dropdown item ,name as input and email .i have entered "Black Centered 305" for dropdown and "name" as xyx for input text, when the user click the email input box a link display below the input email and when i click on the link a new tab open as verifcation.php there i enter email and name and submit it ,the link then goes to my gmail id and when i open my gmail account to open my link the page open but i m not abe to keep the data of "Black Centered 305" and "name"  after refresh page . </p>