PHP Classes

replace value more than once.

Recommend this page to a friend!

      BBCode Class  >  All threads  >  replace value more than once.  >  (Un) Subscribe thread alerts  
Subject:replace value more than once.
Summary:i want to print the value between tags more than once.
Messages:1
Author:Agustín Houlgrave
Date:2009-12-06 01:08:31
 

  1. replace value more than once.   Reply   Report abuse  
Picture of Agustín Houlgrave Agustín Houlgrave - 2009-12-06 01:08:31
I found this class very useful, but when i tryied to add the [youtube] tag, i was in trouble.

what if i want to add this tag:

[youtube]http://www.youtube.com/watch?v=v2xVI8D2PCY&feature=related[/youtube]

and that the result would be:

<object.... param="movie" value="http://www.youtube.com/watch?v=v2xVI8D2PCY&feature=related" ........>
<embed src="http://www.youtube.com/watch?v=v2xVI8D2PCY&feature=related"> ............</object>

i need the value (between the tags) to appear more than once.

tank you.

sorry about my bad english.