php代码中的LA_PRE什么意思?解决办法

WBOY
Release: 2016-06-13 11:50:01
Original
1246 people have browsed it

php代码中的LA_PRE什么意思?
有段php代码,如下,想请教LA_PRE.这是什么用法。代码是什么意思呢?能帮忙解释一下吗?
private $db;
private $role_table;
private $admin_table;
private $admin_log;

function __construct()
{
global $db;
$this->db=$db;
$this->role_table=LA_PRE.'adminrole';
$this->admin_table=LA_PRE.'admin';
$this->admin_log=LA_PRE.'admin_log';
}

------解决方案--------------------
这不是php自身的属性,是定义的常量,看你此处的意思应该是定义的表前缀
------解决方案--------------------
常量

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!