#36281 [Asn->Ana]: bindParam not working with LIKE '%:foo%'

From: Date: Sun, 05 Feb 2006 17:18:49 +0000
Subject: #36281 [Asn->Ana]: bindParam not working with LIKE '%:foo%'
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969371827@lists.php.net to get a copy of this message
ID: 36281 Updated by: iliaa@php.net Reported By: vendor at visv dot net -Status: Assigned +Status: Analyzed -Bug Type: PDO related +Bug Type: Documentation problem Operating System: Linux PHP Version: 5.1.2 Assigned To: wez Previous Comments: ------------------------------------------------------------------------ [2006-02-04 18:54:21] vendor at visv dot net Possibly. How can we determine that definitively? At the least, I would like to add a user-note to the online documentation, if someone cannot add it to the core docs for pdo-mysql. The db in question is mysql 4.1 ------------------------------------------------------------------------ [2006-02-04 18:49:21] derick@php.net I doubt this is a bug... many DB APIs simply don't support bind variables like this. A bind variable is not just any substitution for a string. ------------------------------------------------------------------------ [2006-02-04 18:49:15] wez@php.net That is not a valid parameter definition. ------------------------------------------------------------------------ [2006-02-04 18:21:16] vendor at visv dot net No change nor improvement with http://snaps.php.net/php5.1-latest.tar.gz on Feb 4. 12:20PM ------------------------------------------------------------------------ [2006-02-04 12:48:08] 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/36281 -- Edit this bug report at http://bugs.php.net/?id=36281&edit=1

« previous php.doc (#969371827) next »