编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « mysqli_warning::next
  • 别名和过时的 Mysqli 函数 »
  • PHP Manual
  • Mysqli
  • mysqli异常类

mysqli异常类

(PHP 5, PHP 7)

简介

mysqli异常类

类摘要

mysqli_sql_exception extends RuntimeException {
/* 属性 */
protected string $sqlstate ;
/* 继承的属性 */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
}

属性

sqlstate

出现错误的sql状态

相关文章
php mysqli mysqli异常类php mysqli mysqli warning类php exception 获取异常追踪信息php exception 获取字符串类型的异常追踪信息php 别名和过时的 mysqli 函数 在主/从机制中强制在主机中执行一个查询php mysqli result fetch meta data for a single fieldphp mysqli result returns the next field in the result setphp mysqli stmt constructs a new mysqli stmt objectphp mysqli stmt seeks to an arbitrary row in statement result setphp mysqli stmt prepare an sql statement for executionphp mysqli stmt resets a prepared statementphp mysqli returns the error code from last connect callphp mysqli returns a string description of the last connect errorphp mysqli 返回mysql服务器的版本号php mysqli 作为一个整数返回mysql服务器的版本php mysqli 轮询连接php mysqli 准备执行一个 sql 语句php mysqli 刷新php mysqli 初始化一条语句并返回一个用于mysqli stmt prepare 调用 的对象php 语言参考 预定义异常
关注编程学问公众号
编程学问网 湘ICP备20001732号