Re: [PHP] HTML vs. Plain Text Input

2004-05-07 Thread Richard Davey
Hello Matt, Friday, May 7, 2004, 9:33:28 AM, you wrote: MP> Hey, I was wondering if anyone knows of any easy ways to detect for HTML MP> input. I have a textarea box that I want users to be able to input either MP> plain text or HTML code. I will later display this input data, so if the MP> use

[PHP] HTML vs. Plain Text Input

2004-05-07 Thread Matt Palermo
Hey, I was wondering if anyone knows of any easy ways to detect for HTML input. I have a textarea box that I want users to be able to input either plain text or HTML code. I will later display this input data, so if the user input plain text then I will replace newline characters (\r\n, \n, \r) w