Hello,
I have those tags in database
[mytag=xx] [mytag=yy] [mytag=zz]
etc...
where xx, yy and zz are never the same. Therefore I cannot do a str_replace.
the only constant is [mytag=??]
How can I tell php not to display those?
thanks
If you simply want to remove the tags, this should work:
$data = preg_replace('/\[mytag=.*?\]/i', '', $data);
indeed it does... thanks