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 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]. 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! 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? 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] Link to comment https://forums.phpfreaks.com/topic/21918-imgurlimg-to/#findComment-97988 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.