Okay, well I made a function to send a PM for a hack I'm making, and inside
Is text, and also a link to a members profile...so I need to parse the link to make it an actually hyperlink...
I tried
PHP Code:
$parsedurl = parse_bbcode("<a href='" . $cleanurl[0] ."'>$cleanuri[0]</a>");
and that wasn't what I wanted....
And then I tried
PHP Code:
$parseurl = parse_bbcode("[URL=$cleanuri[0]]$cleanurl[0][/url]");
And that gave me the actually HTML markup for the link
Code:
<a href="http://localhost/member.php?u=1" target="_blank">http://localhost/member.php?u=1</a>
And it didn't parse it! So can anyone give me a helping hand and tell me what I'm doing wrong?