[thelist] PHP: How to detect a line break in a textfield

Markus Staas markus at interactive-webdesign.com
Tue Feb 25 08:00:01 CST 2003


Hi All,


Probably a very simple question for the pro's but a very complicated
task for me: Could you tell me how I can detect a line break that was
imposed by the user by pressing the "Enter" or "Return" key when filling
a multi line textfield in an HTML form?

I believe in ASP its something like "CRLF" or so.

Cheers,

Markus





More information about the thelist mailing list