PHP » GoLang |
login |
register |
about
|
GoLang mysqli_result::$num_rows
request it (472)
GoLang replacement for PHP's mysqli_result::$num_rows
[edit | history]
mysqli_result::$num_rowsmysqli_num_rows(PHP 5, PHP 7) mysqli_result::$num_rows -- mysqli_num_rows — Gets the number of rows in a result DescriptionObject oriented style Procedural style Returns the number of rows in the result set. The behaviour of mysqli_num_rows() depends on whether buffered or unbuffered result sets are being used. For unbuffered result sets, mysqli_num_rows() will not return the correct number of rows until all the rows in the result have been retrieved. Parameters
Return ValuesReturns number of rows in the result set.
ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above examples will output: Result set has 239 rows. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|