#36923 [Com]: PDO::query fails when query contains special charactes

From: Date: Wed, 24 Sep 2008 16:10:48 +0000
Subject: #36923 [Com]: PDO::query fails when query contains special charactes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-129230@lists.php.net to get a copy of this message
ID: 36923 Comment by: chmbox dot spammenot at thecompsmith dot com Reported By: farin at refresh dot cz Status: No Feedback Bug Type: PDO related Operating System: Gentoo PHP Version: 5.1.2 New Comment: It is my understanding that ->query is for select statements and ->exec is for insert/delete/update etc (more data intensive). This works fine with exec. Previous Comments: ------------------------------------------------------------------------ [2008-01-14 17:26:40] stoto98 at yahoo dot fr Same error for me with PHP 5.2.0-8+etch9 (debian) with client library version 5.0.32 (MySQL) ------------------------------------------------------------------------ [2007-10-04 11:24:17] gizmo dot rafal at poczta dot fm I have same issue on my PHP Version 5.2.3-0.dotdeb.1 with PDO Driver for MySQL, client library version 5.0.41. ------------------------------------------------------------------------ [2007-08-09 22:36:01] apike at sfu dot ca This is still happening for me with PHP 5.2.0. ------------------------------------------------------------------------ [2006-04-07 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-03-30 13:29:53] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/36923 -- Edit this bug report at http://bugs.php.net/?id=36923&edit=1

« previous php.bugs (#129230) next »