Thinkphp $ group = D ("SNS_USER_GROUP"); can be lowercase and underlined

Source: Internet
Author: User
Thinkphp $ group = D (& quot; SNS_USER_GROUP & quot;); it will be changed to lower-case underline $ group = D ("SNS_USER_GROUP"); it will be changed to lower-case underline SELECT & nbsp; * & nbsp; FROM & nbsp; 'thinkphp $ group = D ("SNS_USER_GROUP"); it will become lowercase and underlined
$ Group = D ("SNS_USER_GROUP"); it becomes lowercase and underlined.

SELECT * FROM's _ n_s _ u_s_e_r _ g_r_o_u_p 'Order BY group_id LIMIT 0, 30
Is it set in conf? Self-perception
What's the problem? the table name is always in lower case. now the tragedy has been changed. let me know, bro.
------ Solution --------------------
This problem has never been encountered, but it can be modified ..
I remember D ("SNS_USER_GROUP"); that is, instantiate the table sns_user_group ..
You can go here to download thinkphp manual look: http://www.phpnewer.com/index.php/HandBook/index

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.