Jump to content

Archived

This topic is now archived and is closed to further replies.

uknowho008

[IMG]url[/IMG] to <img src="url" />

Recommended Posts

i need help finding a tutorial on how to convert tags such as this [IMG]http://url[/img] to <img src="url" /> for my forum

can anybody help me find one? or show me how to do it? i have no idea what to search for. thanks

Share this post


Link to post
Share on other sites
[code]
$something = <<<EOF
This
contains
line
breaks
EOF;
echo nl2br($something);[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.