Okay, I’m sending strings to my PHP script via a clicked link such as:
https://xxxxxxx.net/[email protected]&user=Heather
Then in the script I used this in the HTML portion of my PHP file:
<?php $mail = $_GET['email2']; ?>
<?php $who3 = $_GET['user']; ?>
And in the PHP section:
$mail = $_GET['email2'];
$who3 = $_GET['user'];
I don’t know if both are needed, but, anyway, I can easily echo them using echo $mail for example, so that works, but anything like:
if (empty($mail)) {
if (empty($email2) {
Or a similar “(!isset)” statement seem to be ignored and displays the error if the string has data or not. Basically, if someone did NOT follow the e-mail link, then these values will not be populated, and an error is shown. But it shows the error no matter what!
Help please.