|
PHP5中文手册
PDOStatement->execute()(PHP 5 >= 5.1.0, PECL pdo:0.1-1.0.3) PDOStatement->execute() — Executes a prepared statement 说明PDOStatement
bool execute
([ array $input_parameters
] )
Execute the prepared statement. If the prepared statement included parameter markers, you must either:
参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例Example#1 Execute a prepared statement with bound variables
<?php Example#2 Execute a prepared statement with an array of insert values (named parameters)
<?php Example#3 Execute a prepared statement with an array of insert values (placeholders)
<?php Example#4 Execute a prepared statement with question mark placeholders
<?php |