Redirect script help
When my user registers on the site, I want to send them automatically into the site. If I passed the following URL my login.php page automatically logs the user in and sends them to the page (https://domain.com?userEmail=xxx&userPW=xxxxx)
On the registration.php page in the "// WA DataAssist Insert" section, I have following redirect script that is not working. I am trying to grab the data the user populated in the form field "Registration_group_userEmail" for their password, but the script is not written correctly How do I fix this script?
$WA_redirectURL = "login.php?userEmail=".((isset($_GET["Registration_group_userEmail"]))"&userPassword=(hardcoded)";