carriage returns in a text field (textarea) are different than how HTML formats data to be displayed. Look into the nl2br() function.

http://www.php.net/manual/en/function.nl2br.php

HTH,
Jason k Larson


Daniel Guerrier wrote:
Is it possible to maintain the carriage returns in a
database insert.  When I input data from a textfield
with returns into the database, it is lost on a
subsequent select and print.

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to