Re: Carriage Returns

From: Date: Fri, 06 Nov 2009 20:29:52 +0000
Subject: Re: Carriage Returns
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-299688@lists.php.net to get a copy of this message
> > My guess is that you are getting an SQL error returned to you. What does > that > say? Is it talking about a broken SQL statement? > > Also, an example of the actual insert statement with example data would be > helpful. > > > I'm getting the generic error message: Prepare fails (E [SQLSTATE=IX 000 SQLCODE=-282]) My insert statement when echo'd out using print_r($insert) is nothing complex. INSERT INTO my_table VALUES (0, 'This is my text. When I use carriage returns it breaks. I am not sure why.')

« previous php.general (#299688) next »