Home  >  Article  >  Backend Development  >  php代码中的LA_PRE什么意思?解决办法

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

WBOY
WBOYOriginal
2016-06-13 11:50:011247browse

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自身的属性,是定义的常量,看你此处的意思应该是定义的表前缀
------解决方案--------------------
常量

Statement:
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