Home >php教程 >php手册 >TP3.2.3获取MYSQL版本代码

TP3.2.3获取MYSQL版本代码

WBOY
WBOYOriginal
2016-06-07 11:39:271434browse

TP获取MYSQL版本代码,新手第二次发
$model = new \Think\Model();<br> $v = $model->query("select VERSION() as ver");<br> $array['mysqlver'] = $v[0]['ver'];

AD:真正免费,域名+虚机+企业邮箱=0元

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