title: creating a url with variables
body: <p>i have a login page where a user enters his email and password.  this is then passed to another pages (success) where they will have different options.</p>
  
  <p>What i need to do is to get the email address from the prevoius page (login) which I can do but then i want to add it to a url like the one below.</p>
  
  <p>the first part works ok (membersgoods.php?email= but I can't get the email address I just get the text $email.</p>
  
  <pre><code>$email = $_POST['email']
  echo '&lt;a href="membersgoods.php?email=$email"&gt;    Click here to see your purchased goods&lt;/a&gt;';
  </code></pre>
  
  <p>Can anyone help?</p>