|
PDOStatement::executeExecutes a prepared statement Description
public bool PDOStatement::execute
([ array
$input_parameters
] )Execute the prepared statement. If the prepared statement included parameter markers, you must either:
Parameters
Return Values
Returns Changelog
ExamplesExample #1 Execute a prepared statement with bound variables
<?phpExample #2 Execute a prepared statement with an array of insert values (named parameters)
<?phpExample #3 Execute a prepared statement with an array of insert values (placeholders)
<?phpExample #4 Execute a prepared statement with question mark placeholders
<?phpExample #5 Execute a prepared statement using array for IN clause
<?phpNotes
See Also
|