I am working on a registration system that sends an email to the user with an activation link, using the username they provided. I cannot seem to figure out how to append the variable as a get argument. The email sends, but my link is not showing up right. Am I using the wrong syntax?
$message = "Thank you for creating an account. Please activate it now here : <a href=\"http://cts.gruv.org/jstudent/activate.php?username=".$_GET['user']."\"></a>";
I have user declared as such:
$user = $_POST['newUserName'];
which is grabbing the information provided in the form by the registrant. Any ideas? Thanks!