PHP mysqli_stat() 函数
PHP 教程
· 2019-01-28 12:41:56
创建 SSL 连接:
<?php
// 假定数据库用户名:root,密码:123456,数据库:CODERCTO
$con=mysqli_connect("localhost","root","123456","CODERCTO");
if (mysqli_connect_errno($con))
{
echo "连接 MySQL 失败: " . mysqli_connect_error();
}
echo "System status: ". mysqli_stat($con);
mysqli_close($con);
?>
定义和用法
mysqli_stat() 函数返回当前系统状态。
语法
mysqli_stat(connection);
| 参数 | 描述 |
|---|---|
| connection | 必需。规定要使用的 MySQL 连接。 |
技术细节
| 返回值: | 返回一个描述服务器状态的字符串。如果发生错误则返回 FALSE。 |
|---|---|
| PHP 版本: | 5+ |
点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html
Elements of Information Theory
Thomas M. Cover、Joy A. Thomas / Wiley-Blackwell / 2006-7 / GBP 76.50
The latest edition of this classic is updated with new problem sets and material The Second Edition of this fundamental textbook maintains the book's tradition of clear, thought-provoking instr......一起来看看 《Elements of Information Theory》 这本书的介绍吧!