rctxtreme
07-11-2007, 04:36 AM
I use this code to parse BBcode:
$thedescription=str_replace("[b]","<b>",$thedescription);
But I can't figure out how to parse url tags due to them having to correspond as so:
[url=
<a href="
]
">
Because ] can be generic, I cannot replace ] with ">
...so any help?
$thedescription=str_replace("[b]","<b>",$thedescription);
But I can't figure out how to parse url tags due to them having to correspond as so:
[url=
<a href="
]
">
Because ] can be generic, I cannot replace ] with ">
...so any help?