Home > Backend Development > PHP Tutorial > php和sql问题

php和sql问题

WBOY
Release: 2016-06-23 13:56:37
Original
839 people have browsed it

这个是我的代码有什么问题吗?数据库里明明有数据可是不显示出来
我用了print_r($row)测试 结果出现了这个图
下面是我的sql里面的数据


各位大神来解救一下我吧。。。。T.T


回复讨论(解决方案)

能print_r出来就说明取到了,你把字段名都按照打印出来那么些,开头字母大写

成功啦~~~谢谢

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