Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.6.0RC2
-
Fix Version/s: None
-
Component/s: Zend_Db
-
Labels:None
Description
$str = "foo?bo'o";
$select->where("my_column LIKE ?", $str);
throws 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY093]: Invalid parameter number: no parameters were bound
Issue Links
| This issue duplicates: | ||||
| ZF-1343 | "Invalid parameter number: no parameters were bound" when using ' and ? in where clause |
|
|
|
This bug is cloned and discussed in issue
ZF-1343. Bug seems to be PDO related and fixed in PHP version 5.2.9 according to comments 29182 and 29184ZF-1343. Bug seems to be PDO related and fixed in PHP version 5.2.9 according to comments 29182 and 29184