Home > Backend Development > PHP Tutorial > thinkphp $group=D("SNS_USER_GROUP");能变成小写加下划线

thinkphp $group=D("SNS_USER_GROUP");能变成小写加下划线

WBOY
Release: 2016-06-13 12:50:55
Original
808 people have browsed it

thinkphp $group=D("SNS_USER_GROUP");会变成小写加下划线
$group=D("SNS_USER_GROUP");会变成小写加下划线

SELECT * FROM `s_n_s__u_s_e_r__g_r_o_u_p` ORDER BY group_id LIMIT 0,30
是在conf里面设置吗?自已的感觉
这是怎么回事,原来一直表名用小写,现在改了悲剧啊   有知道的兄弟告诉一下哈
------解决方案--------------------
这个问题倒是没遇到过,不过倒是可以修改的。。
我记得D("SNS_USER_GROUP");就是实例化sns_user_group这个表吧。。
你可以去这里下载thinkphp手册看看:http://www.phpnewer.com/index.php/HandBook/index

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