echo
"hello<BR>";[/code]
[URL='http://www.cnn.com];::;:;;''""'"''"//\[/URL]
as you may see from the above code, what I want to do is
1) if I have a ' before [url]http://[/url] , it will turn into htmlspecialchars
2) how do i count/extract everything within [URL.....[/URL] ?
to me more specific....
I have a hidden code that will embedded with with user's message, say if the user type "hello", it acutally is
"<!--DO NOT REMOVE THIS## <B> date()--> hello <!--DO NOT REMOVE THIS ## </B>-->"
and the whole thing will be inserted into the database
i want to remove everything EXCEPT "hello"
when the USER want to "EDIT" the message....
how can I do that?