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

Warren Vail
 


-----Original Message-----
From: Andrew Wood [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 15, 2004 12:19 PM
To: php-gen
Subject: [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

Reply via email to