Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
mysqli_warning_count
(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 linkPopis
Procedural style:
int mysqli_warning_count ( mysqli link )Object oriented style (property):
class mysqli {int warning_count
}
Returns the number of warnings from the last query in the connection.
Poznámka: For retrieving warning messages you can use the SQL command SHOW WARNINGS [limit row_count].
Seznam parametrů
link
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
PÅ™Ãklady
PÅ™Ãklad 2. Procedural style
|
Výše uvedený pÅ™Ãklad vypÃÅ¡e:
Warning (1264): Data truncated for column 'Name' at row 1 |
PÅ™edcházejÃcà | Domů | Dalšà |
mysqli_use_result | Nahoru |