note 68688 added to function.mysqli-stmt-bind-param
| From: | php-general at lists dot php dot net | Date: | Mon, 07 Aug 2006 12:05:20 +0000 |
| Subject: | note 68688 added to function.mysqli-stmt-bind-param | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115608@lists.php.net to get a copy of this message | ||
how i can use bind_param, when i don't know how much parameter i have???
example:
i have a function 4 insert to db
Command: INSERT INTO tablex VALUES (?, ?, ?);
Command: INSERT INTO tabley VALUES (?, ?, ?, ?, ...);
but i want only 1 function 4 this. So how i can use bind_param???
----
Server IP: 192.35.244.50
Probable Submitter: 62.46.87.126
----
X-Spam-Status: No, hits=3.8 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
UPPERCASE_25_50 autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-stmt-bind-param.php
Edit -- https://master.php.net/note/edit/68688
Del: integrated -- https://master.php.net/note/delete/68688/integrated
Del: useless -- https://master.php.net/note/delete/68688/useless
Del: bad code -- https://master.php.net/note/delete/68688/bad+code
Del: spam -- https://master.php.net/note/delete/68688/spam
Del: non-english -- https://master.php.net/note/delete/68688/non-english
Del: in docs -- https://master.php.net/note/delete/68688/in+docs
Del: other reasons-- https://master.php.net/note/delete/68688
Reject -- https://master.php.net/note/reject/68688
Search -- https://master.php.net/manage/user-notes.php