|
(PHP 5)
mysqli_stmt_error(no version information, might be only in CVS)
mysqli_stmt->error -- Returns a string description for last statement errorProcedural style:
string mysqli_stmt_error ( mysqli_stmt stmt )Object oriented style (property):
class mysqli_stmt {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.
Example 2. Procedural style
|
The above example will output:
Error: Table 'world.myCountry' doesn't exist. |
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 18:00:22