RE: [PHP] Re: Testing for the presence of HTML

2001-11-20 Thread Matthew Luchak
If I understand the question correctly - came late to the thread - I think the easiest way to do this would be to check for the presence of "mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 4:29 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Testing for the presence of

Re: [PHP] Re: Testing for the presence of HTML

2001-11-20 Thread Richard S. Crawford
Unfortunately, I also have users entering complex HTML code such as tables; which, if each tag of a table is on a separate line, renders badly with nl2br(). I mean, really badly. You have no idea. My users range from professional web developers to people who are still frightened by the idea

[PHP] Re: Testing for the presence of HTML

2001-11-20 Thread Fred
This may not actually be a problem. If you are expecting that users may enter links as html you can still use nl2br and get a decent result. The only time this would be a problem, would be if the users actually entered as they filled in the form. In my experience, it is highly unlikely that a