| PHP » GoLang | login |
            register |
            
            about | 
| GoLang mysqli_stmt::$num_rows
                                request it (779)
                            GoLang replacement for PHP's mysqli_stmt::$num_rows
                            [edit | history] 
                             mysqli_stmt::$num_rowsmysqli_stmt::num_rowsmysqli_stmt_num_rows(PHP 5, PHP 7) mysqli_stmt::$num_rows -- mysqli_stmt::num_rows -- mysqli_stmt_num_rows — Return the number of rows in statements result set DescriptionObject oriented style 
   int mysqli_stmt::num_rows
    ( void
   ) Procedural style 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. Return ValuesAn integer representing the number of rows in result set. ExamplesExample #1 Object oriented style 
<?phpExample #2 Procedural style 
<?phpThe above examples will output: Number of rows: 20. See Also
 
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |