note 68008 rejected from ref.mysqli by nlopess

From: Date: Thu, 13 Jul 2006 19:42:19 +0000
Subject: note 68008 rejected from ref.mysqli by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-114759@lists.php.net to get a copy of this message
Note Submitter: mdy_x at yahoo dot com ---- I'm trying to use this library for a query like this: $sql="select name from user where surname in (?)"; and the parameter is like : 'a,b,c' but it doesn't work, does anybody know how it works ? Do I make a mistake ? here is the code: ... $sql="select name from user where surname in (?)"; $bindPrm='a,b,c'; $stmt = $conn->prepareQuery($sql); $stmt->bind_param('s', $bindPrm); //and no result returns, what's wrong ? ...

« previous php.notes (#114759) next »