redhead
04-23-2003, 07:53 PM
greetings,
well... im pretty sure that i am slowly getting better at php and all;) (please refrain from saying what you really think:p)... but alas... am writing one of them blog-type-things for a friend of mine and he wants to be able to use something similar to bbcode for the links, as other poeple using the thing arnt familiar with html... etc etc
so... replaceing [ url=http://google.com]Google![/url] (without the spaces... i was sure this had an option to disable bbcode:() with <a href="http://google.com" target="_blank">Google!</a>
methinks it uses ereg_replace, and methinks that its been asked before, however i couldnt find anything after searching...
if you can help, that'd be grand :)
well... im pretty sure that i am slowly getting better at php and all;) (please refrain from saying what you really think:p)... but alas... am writing one of them blog-type-things for a friend of mine and he wants to be able to use something similar to bbcode for the links, as other poeple using the thing arnt familiar with html... etc etc
so... replaceing [ url=http://google.com]Google![/url] (without the spaces... i was sure this had an option to disable bbcode:() with <a href="http://google.com" target="_blank">Google!</a>
methinks it uses ereg_replace, and methinks that its been asked before, however i couldnt find anything after searching...
if you can help, that'd be grand :)