title: POST variable to another page while redirecting - php
body: <p>I am redirecting the user back to login page if the login inputs arenot correct. </p>
  
  <pre><code>$sql = "select * from Driver where username=$username and pwd=$pwd";
  $driver = mysql_query($sql);
  
  if(!$driver){
    header("Location: http://domain.de/login.php");
    exit();
  }
  </code></pre>
  
  <p>can i also pass message like <code>"sorry, username isnot correct"</code> to login page? </p>
  
  <p>i dont want to use session. get isnot the option here</p>