PHP 忒聊
綴豖
ヶ輛
mysql_info
(PHP 4 = 4.3.0)
Description
mysql_info() returns detailed information about the last query using the given link_identifier. If link_identifier isn't specified, the last opened link is assumed.
mysql_info() returns a string for all statements listed below. For all other FALSE. The string format depends on the given statement.
瞰赽 1. Relevant MySQL Statements
INSERT INTO... SELECT... String format: Records: 23 Duplicates: 0 Warnings: 0 INSERT INTO... VALUES (...),(...),(...)... String format: Records: 37 Duplicates: 0 Warnings: 0 LOAD DATA INFILE... String format: Records: 42 Deleted: 0 Skipped: 0 Warnings: 0 ALTER TABLE String format: Records: 60 Duplicates: 0 Warnings: 0 UPDATE String format: Rows matched: 65 Changed: 65 Warnings: 0
蛁: mysql_info() returns a non-FALSE value for the INSERT... VALUES statement only if multiple value lists are specified in the statement.
See also: mysql_affected_rows()
綴豖
れ萸
ヶ輛
mysql_get_server_info
奻珨撰
mysql_insert_id