note 85845 modified in pdostatement.bindparam by felipe

From: Date: Tue, 23 Sep 2008 23:27:57 +0000
Subject: note 85845 modified in pdostatement.bindparam by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-144655@lists.php.net to get a copy of this message
trying to use: <?php .... $sql = 'select * from mytable where id in(:ids)'; $stmt->bindParam(':ids', '1,2,3,4'); .... ?> will fail. --was-- trying to use: <?php .... $sql = 'select * from mytable where id in(:ids)'; $stmt->bindParam(':ids, '1,2,3,4'); .... ?> will fail. http://php.net/manual/en/pdostatement.bindparam.php

« previous php.notes (#144655) next »