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