|
(PHP 5)
mysqli_warning_count(no version information, might be only in CVS)
mysqli->warning_count -- Returns the number of warnings from the last query for the given linkProcedural style:
int mysqli_warning_count ( mysqli link )Object oriented style (property):
class mysqli {mysqli_warning_count() returns the number of warnings from the last query in the connection represented by the link parameter.
Anmerkung: For retrieving warning messages you can use the SQL command SHOW WARNINGS [limit row_count].
Beispiel 2. Procedural style
|
Das oben gezeigte Beispiel erzeugt folgende Ausgabe:
Warning (1264): Data truncated for column 'Name' at row 1 |
Zurück | Zum Anfang | Weiter |
mysqli_use_result | Nach oben | Ncurses Terminal Screen Control Functions |
Hosting by: Hurra Communications GmbH
Generated: 2007-01-26 17:57:18