I'm having some weird problem escaping " in an echo function.
echo "<a href=\"" + "$site" + "target=\"_blank\">Site</a>";
Any idea what I'm doing wrong?
I'm having some weird problem escaping " in an echo function.
echo "<a href=\"" + "$site" + "target=\"_blank\">Site</a>";
Any idea what I'm doing wrong?
You are doing it the javascript way for one. Concatenating in PHP works using . or ,. Then you are using to many "
Try this line:
echo "<a href=\"".$site." target=\"_blank\">Site</a>";