|
PDOStatement::executeExecutes a prepared statement Description
public bool PDOStatement::execute
([ array
$input_parameters
] )Execute the prepared statement. If the prepared statement included parameter markers, either:
Parameters
Return Values
Returns Changelog
ExamplesExample #1 Execute a prepared statement with a bound variable and value
<?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 Example #5 Execute a prepared statement using array for IN clause
<?php Notes
See Also
|