i want to pass $Email in a querystring, which looks like this
header("Location:index.php?state=sent&Email=$Email");
$Email = urlencode("$urlencode");
$urlencode = $row['Email'];
I have defined $row earlier on, from my database
and this shall recieve it
$Email = $_GET['Email'];
echo "<p style='color:white;margin-bottom:10%; font-size:17px;' align='center'> Your email is: $Email</p>";
But for some reason it will not send the Email with the querystring
you got the order wrong.
should be: