I'm making a guest book and I'm trying to do something rather complex but I can't seem to get a way to do it...
In the form, the variable $email is entered which is then altered before being inserted into the database table.
$email = "<b>E-Mail</b>: $email";
Thats fine, I want to be able to click on this once outputted.
So I tried this...
$email = "<b>E-Mail</b>: <a href = "$email">$email</a>";
Not supprisingly this didn't work due to the double use of "", so I tried replacing each set with '' as below.
$email = '<b>E-Mail</b>: <a href = "$email">$email</a>';
outputs $email as a link!
$email = "<b>E-Mail</b>: <a href = '$email'>$email</a>";
gives a message about an error in my SQL syntax.
I can't seem to find any other way to do it, both sets of quotation marks HAVE to be "", but that just isn't possible.
Thanks for any help