uknowho008 Posted September 25, 2006 Share Posted September 25, 2006 i need help finding a tutorial on how to convert tags such as this [IMG]http://url[/img] to <img src="url" /> for my forumcan anybody help me find one? or show me how to do it? i have no idea what to search for. thanks Quote Link to comment https://forums.phpfreaks.com/topic/21918-imgurlimg-to/ Share on other sites More sharing options...
trq Posted September 25, 2006 Share Posted September 25, 2006 Search for [i]php bbcode[/i]. Quote Link to comment https://forums.phpfreaks.com/topic/21918-imgurlimg-to/#findComment-97899 Share on other sites More sharing options...
uknowho008 Posted September 25, 2006 Author Share Posted September 25, 2006 awesome, thanks! Quote Link to comment https://forums.phpfreaks.com/topic/21918-imgurlimg-to/#findComment-97966 Share on other sites More sharing options...
uknowho008 Posted September 25, 2006 Author Share Posted September 25, 2006 one more thing, how would i put a <br wherever there is a line break? Quote Link to comment https://forums.phpfreaks.com/topic/21918-imgurlimg-to/#findComment-97983 Share on other sites More sharing options...
Daniel0 Posted September 25, 2006 Share Posted September 25, 2006 [code]$something = <<<EOFThiscontainslinebreaksEOF;echo nl2br($something);[/code] Quote Link to comment https://forums.phpfreaks.com/topic/21918-imgurlimg-to/#findComment-97988 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.