PHP. Руководство по PHP. 2005
mysqli_stmt_error
mysqli_stmt_error
(PHP 5)mysqli_stmt_error
(no version information, might be only in CVS)mysqli_stmt->error -- Returns a string description for last statement error
Description
Procedural style:string mysqli_stmt_error (mysqli_stmt stmt)
Object oriented style (property):class mysqli_stmt {
string error
}
For the statement specified by stmt, mysqli_stmt_error()
returns a containing the error message for the most recently invoked statement function that
can succeed or fail.
Примеры
Пример 2. Procedural style
|
Результат выполнения данного примера:
Error: Table 'world.myCountry' doesn't exist. |
mysqli_stmt_errno
mysqli_stmt_execute