url=http://www.url.com/[url description]url
This is parsed from a block of text ($string
) using the following PHP code:
$string = preg_replace("/url=(.*?)\[/", "<a href=\"\\1\">", $string);
$string = ereg_replace("\]url", "</a>", $string);
So, you can do something like this ...
url=http://collective.valve-erc.com/[VERC Collective]url
...and you'll get this ...You must log in to post a comment. You can login or register a new account.