note 85315 deleted from pdostatement.bindvalue by cmb

From: Date: Sat, 20 Oct 2018 12:42:05 +0000
Subject: note 85315 deleted from pdostatement.bindvalue by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-209470@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- PDO lacks methods to check if values can be bound to a parameter, e.g., if ($statement->hasParameter(':param')) { $statement->bindValue(':param', $value); } ATM you *have to know* which parameters exist in the SQL-statement. Otherwise you get an error. You cannot test for them.

« previous php.notes (#209470) next »