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

php运作结果:Array ( )

WBOY
Release: 2016-06-13 12:22:04
Original
996 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template