Jump to content

tag small problem


robert_gsfame

Recommended Posts

Assume i have this text

$string=[blabla]this is my text between tag[/blabla]and this is text outside tag

n how can i get everything outside tag and put it in $string2 and everything between tag into $string3

 

so i wish to have $string2 with "this is my text between tag" and $string3 with "this is text outside tag"

 

text between and outside tag are dynamic

 

Thx

Link to comment
https://forums.phpfreaks.com/topic/203735-tag-small-problem/
Share on other sites

Archived

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

×
×
  • Create New...

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.