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.
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.
the first part works ok (membersgoods.php?email= but I can't get the email address I just get the text $email.
$email = $_POST['email']
echo '<a href="membersgoods.php?email=$email"> Click here to see your purchased goods</a>';
Can anyone help?