NYCPHP Meetup

NYPHP.org

[nycphp-talk] Changing "\n" in textarea

leam leam at reuel.net
Sat Feb 7 07:44:30 EST 2004


Okay, noob here.

I am using a textarea for a form that will get put into a MySQL text 
column. The problem is that I have it write to a flat file first, lines 
terminated by newlines.

How do I pull out newlines in the text area and make then "<p>" type 
things before it get written to the flatfile?

ciao!

leam




More information about the talk mailing list