update : 2015.11.03
php.shukuma.com검색:
|
mysqli_stmt::$num_rowsmysqli_stmt_num_rows(PHP 5) mysqli_stmt::$num_rows -- mysqli_stmt_num_rows — Return the number of rows in statements result set 설명객체 기반 형식 절차식 형식 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. 반환값An integer representing the number of rows in result set. 예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제들의 출력: Number of rows: 20. 참고
|