> > If I take the data that is input on the form and on the next page output it > again, it shows up as spaces where I pressed Enter. >
The cr's are preseverd, but if you output a newline in html text, nothing happens... So what you really want is to subsitute newlines with <BR> before outputing. To get a 100% correct escaping of the rest of text, do something like (if you simply subsitute \n with <br> you have to set $escmode to zero before outputing, in which case the rest of the text is not correctly escaped) [- @lines = split /\n/, $fdat{text} -] [$foreach $l (@lines)$] [+ $l +]<br> [$endforeach$] Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]