RE: [PHP-GENERAL] blob?

From: Date: Thu, 15 Jun 2000 17:41:29 +0000
Subject: RE: [PHP-GENERAL] blob?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1972@lists.php.net to get a copy of this message
You should try using the "addslashes" command to your text before inserting it into the database. Addslashes will automatically escape any characters that need it before being inserted into the table. This will prevent the attempted insertion of characters that the database will not accept. Sam Masiello System Analyst Chek.Com (716) 853-1362 x289 smasiello@chekinc.com -----Original Message----- From: Eric Porter [mailto:turbo2l@yahoo.com] Sent: Thursday, June 15, 2000 1:40 PM To: php-general@lists.php.net Subject: [PHP-GENERAL] blob? I am writing a very simple messaging system. I have a column in a table that is to be used for the msg itself. I have looked at mysql.com documentation. When I try to insert the message with punctation I receive errors, am I using the wrong column type ? Eric __________________________________________________ Do You Yahoo!? Yahoo! Photos -- now, 100 FREE prints! http://photos.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#1972) next »