note 85798 deleted from pdostatement.bindparam by danbrown

From: Date: Tue, 24 Mar 2009 18:14:28 +0000
Subject: note 85798 deleted from pdostatement.bindparam by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-152399@lists.php.net to get a copy of this message
Note Submitter: ivanov at abv dot bg ---- @bjornie at nowhere You could do the concatenation in the query itself like this: $stmt = $pdh->prepare("SELECT id, uname FROM tbl WHERE uname LIKE '%'||:uname||'%'"); .......

« previous php.notes (#152399) next »