note 68008 added to ref.mysqli

From: Date: Mon, 10 Jul 2006 08:18:10 +0000
Subject: note 68008 added to ref.mysqli
Groups: php.notes 
Request: Send a blank email to php-notes+get-114625@lists.php.net to get a copy of this message
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 ? ... ---- Server IP: 85.116.0.130 Probable Submitter: 195.212.199.55 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.mysqli.php Edit -- http://master.php.net/note/edit/68008 Del: integrated -- http://master.php.net/note/delete/68008/integrated Del: useless -- http://master.php.net/note/delete/68008/useless Del: bad code -- http://master.php.net/note/delete/68008/bad+code Del: spam -- http://master.php.net/note/delete/68008/spam Del: non-english -- http://master.php.net/note/delete/68008/non-english Del: in docs -- http://master.php.net/note/delete/68008/in+docs Del: other reasons-- http://master.php.net/note/delete/68008 Reject -- http://master.php.net/note/reject/68008 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114625) next »