note 129168 added to pdo.constants
| From: | happy dot job7348 at fastmail dot com | Date: | Wed, 17 Jan 2024 18:47:19 +0000 |
| Subject: | note 129168 added to pdo.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221122@lists.php.net to get a copy of this message | ||
To bind a float, use PDO::PARAM_STR with bindValue. You can skip the PDO::PARAM_STR because
it's the default option. Binding with bindParam will change the type of the bound variable to a
string, which can lead to type errors.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.134 (proxied: 80.218.64.172)
----
Manual Page -- https://php.net/manual/en/pdo.constants.php
Edit -- https://main.php.net/note/edit/129168
Del: integrated -- https://main.php.net/note/delete/129168/integrated
Del: useless -- https://main.php.net/note/delete/129168/useless
Del: bad code -- https://main.php.net/note/delete/129168/bad+code
Del: spam -- https://main.php.net/note/delete/129168/spam
Del: non-english -- https://main.php.net/note/delete/129168/non-english
Del: in docs -- https://main.php.net/note/delete/129168/in+docs
Del: other reasons-- https://main.php.net/note/delete/129168
Reject -- https://main.php.net/note/reject/129168
Search -- https://main.php.net/manage/user-notes.php