Re: [PHP] How to strip off all html-comments

2001-12-31 Thread Richard S. Crawford
Martin, strip_tags() would be useful for removing *all* HTML from a string, though you can specify that certain tags should be retained. For example, if you want to remove all *but* anchor tags from your string, your function would look like this: $str = strip_tags($str,''); Howev

Re: [PHP] How to strip off all html-comments

2001-12-31 Thread Brian Clark
* James Cox ([EMAIL PROTECTED]) [Dec 31. 2001 06:38]: > http://www.php.net/stripcodes I think you mean strip_tags() [...] > > Hello! How can I easily strip off all html-comments () from > > a string? > > Martin -- Brian Clark | Avoiding the general public si

RE: [PHP] How to strip off all html-comments

2001-12-31 Thread James Cox
t: [PHP] How to strip off all html-comments > > > Hello! How can I easily strip off all html-comments () from > a string? > > Martin > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additiona

[PHP] How to strip off all html-comments

2001-12-31 Thread Martin
Hello! How can I easily strip off all html-comments () from a string? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]