discuz X2.5 怎么自己写个页面直接操作数据库表

WBOY
Release: 2016-06-13 11:10:33
Original
800 people have browsed it

discuz X2.5 如何自己写个页面直接操作数据库表?
我有个需求,需要直接执行SQL语句,该怎么写代码呢?


------解决方案--------------------
一种是你用PHP提供的mysql函数直接执行
一种是你找到定义'IN_DISCUZ'的文件,包含一下,或者你自己定义一下这个常量
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