| 
 | mysqli_stmt::executemysqli_stmt_executeExecutes a prepared Query DescriptionObject oriented style 
   bool mysqli_stmt::execute
    ( void
   ) Procedural style 
   bool mysqli_stmt_execute
    ( mysqli_stmt  $stmt)Executes a query that has been previously prepared using the mysqli_prepare function. When executed any parameter markers which exist will automatically be replaced with the appropriate data. If the statement is UPDATE, DELETE, or INSERT, the total number of affected rows can be determined by using the mysqli_stmt_affected_rows function. Likewise, if the query yields a result set the mysqli_stmt_fetch function is used. 
 Parameters
 
 Return Values
   Returns  ExamplesExample #1 Object oriented style 
<?phpExample #2 Procedural style 
<?phpThe above examples will output: Stuttgart (DEU,Baden-Wuerttemberg) Bordeaux (FRA,Aquitaine) See Also
 
 |