array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'class.pdostatement.php', 1 => 'PDOStatement', ), 'up' => array ( 0 => 'book.pdo.php', 1 => 'PDO', ), 'prev' => array ( 0 => 'pdo.setattribute.php', 1 => 'PDO::setAttribute', ), 'next' => array ( 0 => 'pdostatement.bindcolumn.php', 1 => 'PDOStatement::bindColumn', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/pdo/pdostatement.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.pdostatement.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 1.0.0)
Représente une requête préparée et, une fois exécutée, le jeu de résultats associé.
$column
,&$var
,$type
= PDO::PARAM_STR,$maxLength
= 0,$driverOptions
= null
$param
,&$var
,$type
= PDO::PARAM_STR,$maxLength
= 0,$driverOptions
= null
$mode
= PDO::FETCH_DEFAULT, int $cursorOrientation
= PDO::FETCH_ORI_NEXT, int $cursorOffset
= 0): mixedchaîne de caractères utilisée pour la requête.
Version | Description |
---|---|
8.0.0 | La classe PDOStatement implémente désormais IteratorAggregate au lieu de Traversable. |