note 83575 deleted from mysqli-stmt.bind-param by danbrown
| From: | danbrown@php.net | Date: | Wed, 25 Feb 2009 14:13:59 +0000 |
| Subject: | note 83575 deleted from mysqli-stmt.bind-param by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151116@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
dams at php dot net: You can't use this function for getting results, that is what bind_result
is for.
I noticed that if you try to use a ? to match a column that doesn't exist, you get a warning
that there are too many variables in the bind_param call, for instance:
$stmt->prepare ("INSERT INTO t (badname) VALUES (?)");
$stmt->bind_param("s", $val);