| I. | Na początek | |
| II. | Instalacja i konfiguracja | |
| III. | Opis języka | |
| IV. | Bezpieczeństwo | |
| V. | Możliwości | |
| VI. | Opis funkcji | |
| VII. | Zend API | |
| VIII. | PHP API: Interfejs rozszerzeń | |
| X. | Dodatki | |
Copyright © 1997-2006 the PHP Documentation Group
(PHP 5)
mysqli_stmt_num_rows(no version information, might be only in CVS)
stmt->num_rows -- Return the number of rows in statements result setProcedural style :
mixed mysqli_stmt_num_rows ( mysqli_stmt stmt )Object oriented style (property):
class mysqli_stmt {Returns the number of rows in the result set. The use of mysqli_stmt_num_rows() depends on whether or not you used mysqli_stmt_store_result() to buffer the entire result set in the statement handle.
If you use mysqli_stmt_store_result(), mysqli_stmt_num_rows() may be called immediately.
Przykład 2. Procedural style
|
Powyższy przykład wyświetli:
Number of rows: 20. |
| Poprzedni | Spis treści | Następny |
| mysqli_stmt_init | Początek rozdziału | mysqli_stmt_param_count |