mysqli_error
Opis
Procedural style:
string mysqli_error ( mysqli link )Object oriented style (property)
class mysqli {string error
}
Returns the last error message for the most recent MySQLi function call that can succeed or fail.
Parametry
- link
- Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init() 
Przykłady
| Przykład 2. Procedural style 
 | 
Powyższy przykład wyświetli:
| Errormessage: Unknown system variable 'a' |