好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

PHP中mysqli_errno和mysqli_error的区别和使用

 

mysqli_errno() 函数返回最近调用函数的最后一个错误代码。

mysqli_error() 函数返回最近调用函数的最后一个错误描述。

 

   mysqli_errno( connection); mysqli_error( connection);

返回值: 返回错误代码值。如果没有错误发生则返回 0。

返回值: 返回一个带有错误描述的字符串。如果没有错误发生则返回 ""。

PHP中mysqli_errno和mysqli_error的区别和使用

标签:bsp   nec   strong   sqli   uil   span   focus   end   函数返回   

查看更多关于PHP中mysqli_errno和mysqli_error的区别和使用的详细内容...

  阅读:22次