RE: [PEAR] DB insufficient data error

From: Date: Tue, 02 Mar 2004 18:00:13 +0000
Subject: RE: [PEAR] DB insufficient data error
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11057@lists.php.net to get a copy of this message
Thanks for your response Firman. The database server is MySQL. I have checked the query in the client and verified that the query was correct. However, I have added slashes to the values that are being replaced, and still resulting in the same problem. I am getting the problem whenever there is a special character in the query, such as, ' (single-quote) and ! (exclamation-point), are just a few of the examples that I have tried. A print_r of the object shows the query is being correctly slashed for the single-quote. Any other ideas? Matt -----Original Message----- From: Firman Wandayandi [mailto:fwd@vfemail.net] Sent: Tuesday, March 02, 2004 10:49 AM To: matt@wiredata.com Cc: PHP-GEN Subject: Re: [PEAR] DB insufficient data error What's your database server? Make sure the query command is correct. Regards, Firman ----- Original Message ----- From: "Matt Horner" <mhorner@wiredata.com> To: <pear-general@lists.php.net> Sent: Tuesday, March 02, 2004 11:27 PM Subject: [PEAR] DB insufficient data error > > Hi all, > > Can anyone tell me what "DB Error: insufficient data supplied" exactly > means? I am getting this > error in a few different queries which are actually all replace into > queries. > > This is a MySQL (obviously by the "replace into") query that I am > working with. > > Thanks! > Matt > > > Matt Horner > Programmer/Anaylst > WIREdata Corp. > mhorner@wiredata.com > >

« previous php.pear.general (#11057) next »