Jump to content


Photo

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


  • Please log in to reply
4 replies to this topic

#1 uknowho008

uknowho008
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 25 September 2006 - 01:59 AM

i need help finding a tutorial on how to convert tags such as this http://url 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

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 25 September 2006 - 02:14 AM

Search for php bbcode.

#3 uknowho008

uknowho008
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 25 September 2006 - 04:38 AM

awesome, thanks!

#4 uknowho008

uknowho008
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 25 September 2006 - 05:28 AM

one more thing, how would i put a <br wherever there is a line break?

#5 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 25 September 2006 - 05:39 AM

$something = <<<EOF
This
contains
line
breaks
EOF;
echo nl2br($something);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users