Blog de programación, errores, soluciones

Chose Language:
comments
Author: Admin/Publisher |finished |not checked

PHP mysqli_warning class

The class mysqli_warning represents a MYSQL warning.

Sinopsis / Synopsis
 class mysqli_warning {
/* Propiedades */
public $message;
public $sqlstate;
public $errno;
/* Métodos */
public next(): void
}

Properties

$message – message that gives the warning

sqlstate – SQL state (SQLSTATE is a code which identifies SQL error conditions)

errno – error number

Methods

__construct

The constructor is private and therefore will not allow direct instantiation of a class.

private mysqli_warning::__construct()

next

Fetches the next warning.

public mysqli_warning::next(): bool

Returns

true if the next warning could be fetched

false if there are no more warnings

Category: en-php
Something wrong? If you found an error or mistake in the content you can contact me on Twitter | @luisg2249_luis.
Last 4 post in same category

Comments