How can I configure it to display SQL output while debugging?
phpcn_u16587
phpcn_u16587 2017-08-27 11:32:28
0
2
1248

I have enabled APP_DEBUPG and APP_TRACE in the configuration file and cannot track SQL statement output. How should I configure it?

phpcn_u16587
phpcn_u16587

reply all (2)
长江啊你全是水

Add the following configuration in the configuration file

// Apply debugging mode

In the lower right corner of the page There is an icon. Click it. There is a sql inside it

  • reply This configuration is required for debugging during the development phase, not for the production environment.
    长江啊你全是水 author 2017-08-31 16:48:23
Ty80

M()->getLastSql(); Try this.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!