Hi Andrew, I'm also saving html input from textarea fields into my msql DB...but try to use the filed type TEXT instead of LONGTEXT that it should work fine.
Greetings, Ron -----Ursprüngliche Nachricht----- Von: Andrew Wood [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. Juli 2004 21:19 An: php-gen Betreff: [PHP] Storing text with carriage returns in MySQL I'm trying to use PHP to read text from an HTML textarea form field and store in in MySQL using the longtext data type but it's cutting off everything after the first carriage return. I suspect I need to iterate through the text looking for CRs then do something? But I don't know what. Can anyone offer any pointers? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php