Home  >  Article  >  Backend Development  >  mysqli类怎样获取num_row?该怎么解决

mysqli类怎样获取num_row?该怎么解决

WBOY
WBOYOriginal
2016-06-13 11:50:14861browse

mysqli类怎样获取num_row?
$aa=$mysqli->query($sql)

怎样获取$aa的结果行数?
------解决方案--------------------
$mysqli -> field_count 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn