Re: Stuck in apostrophe hell
| From: | Paul_S_Johnson at mnb dot uscourts dot gov | Date: | Wed, 04 Aug 2010 14:16:40 +0000 |
| Subject: | Re: Stuck in apostrophe hell | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-47293@lists.php.net to get a copy of this message | ||
OK, I figured it out. I followed the advice here to turn on MySQL logging
(which took more doing that it should have), so I could see what's really
being sent to MySQL. It wasn't choking on the query I posted in my message
but a later one in which the string was not escaped. The red herring that
led me astray was the line no. indicated in the error message that pointed
to the query I posted (or at least seemed to).
Anyway, thanks for the tips that got me pointed in the right direction.
Paul
Paul S. Johnson