Home >Backend Development >PHP Tutorial >php运作结果:Array ( )

php运作结果:Array ( )

WBOY
WBOYOriginal
2016-06-13 12:22:04995browse

php运行结果:Array ( )
$a=$sql->getAll("select * from wxch_ask_answer");
print_r($a);
运行结果就只有Array ( ),为什么?
我希望把数据库中的数据都显示出来。
------解决思路----------------------
那就有可能表 wxch_ask_answer 里面没有数据

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