[thesite] Those pesky TEXTAREAs

Simon Coggins ppxsjc1 at nottingham.ac.uk
Mon Apr 29 09:27:00 CDT 2002


Hi,

After reading some of the talk regarding the use of TEXTAREAs for code
within articles, I decided to try to tackle the problem.

I ended up with a fairly straightforward server side solution which
involves adding newline characters to wrap long lines at the point when
the article is inserted into the database.

It's not complete by any means, and it's in PHP rather than Cold Fusion
but let me know what you think anyway:

http://members.evolt.org/simonc/lab/wordwrap.php

Could this solve the problem?

Simon





More information about the thesite mailing list