note 57180 deleted from function.mysqli-execute by nlopess
| From: | nlopess@php.net | Date: | Mon, 26 Sep 2005 18:41:37 +0000 |
| Subject: | note 57180 deleted from function.mysqli-execute by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-95802@lists.php.net to get a copy of this message | ||
Note Submitter: andre.gadonski at gmail.com
Reason: non-english
----
Um peqeuno exemplo usando mysqli_stmt_execute();
<?
$stmt = mysqli_stmt_init($conect);
if ($prepare= mysqli_stmt_prepare($stmt, "SELECT title FROM blog")) {
mysqli_stmt_execute($stmt);
mysqli_stmt_bind_result($stmt, $titutlo);
while (mysqli_stmt_fetch($stmt)){
printf("Blog Titles: %s", $titulo);
}
mysqli_stmt_close($stmt);
}
?>