RE: [PHP-DOC] cvs: phpdoc /en/reference/pdo/functions PDO-prepare.xml PDOStatement-execute.xml
| From: | Jared Williams | Date: | Sun, 08 Jan 2006 15:57:15 +0000 |
| Subject: | RE: [PHP-DOC] cvs: phpdoc /en/reference/pdo/functions PDO-prepare.xml PDOStatement-execute.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969371469@lists.php.net to get a copy of this message | ||
Hi,
Just read this, and wanted some clarification, as I believe I've been using this in places.
> + You cannot use a named parameter marker of the same
> name twice in a prepared
> + statement.
$param = 'a';
$stmt = $pdo->prepare('SELECT :param = :param')
$stmt->bindParam(':param', $param, PDO:PARAM_STR);
$stmt->execute();
Is not guarenteed to be supported?
Jared