I am trying to close a line like this:
$link = 'Hello, welcome to <a href="www.stackoverflow.com';
echo $link;
How to fix an incomplete href tag? I want this to be:
$link = 'Hello, welcome to <a href="www.stackoverflow.com"></a>'; // no value between <a> tag is alright.
I do not want to use strip_tags()or htmlentities(), because I want it to appear as a working link.
source
share