note 126299 added to mysqli-stmt.bind-param
| From: | c at zp1 dot net | Date: | Sun, 01 Aug 2021 21:26:11 +0000 |
| Subject: | note 126299 added to mysqli-stmt.bind-param | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216713@lists.php.net to get a copy of this message | ||
It is very important to understand that you can not supply bind_param values
this will not work:
$stmt -> bind_param("s", "value");
you have to do it like this :
$var = "value";
$stmt -> bind_param("s", $var);
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 80.243.48.45)
----
Manual Page -- https://php.net/manual/en/mysqli-stmt.bind-param.php
Edit -- https://main.php.net/note/edit/126299
Del: integrated -- https://main.php.net/note/delete/126299/integrated
Del: useless -- https://main.php.net/note/delete/126299/useless
Del: bad code -- https://main.php.net/note/delete/126299/bad+code
Del: spam -- https://main.php.net/note/delete/126299/spam
Del: non-english -- https://main.php.net/note/delete/126299/non-english
Del: in docs -- https://main.php.net/note/delete/126299/in+docs
Del: other reasons-- https://main.php.net/note/delete/126299
Reject -- https://main.php.net/note/reject/126299
Search -- https://main.php.net/manage/user-notes.php