Interpreting text in PHP
Posted: Sun Jul 24, 2005 5:02 am
Hi,
How can I write a php script, so if in a varable there is the text "[link=http://www.foo.com]Stuff[/link]" (without quotes), it just displays "[link]"??
These tags would be inside lots of other plain text.
Thanks in advance,
-Stephen
How can I write a php script, so if in a varable there is the text "[link=http://www.foo.com]Stuff[/link]" (without quotes), it just displays "[link]"??
These tags would be inside lots of other plain text.
Thanks in advance,
-Stephen