mysql_info()
string mysql_info([connection])This function returns information on the last query for the current connection to MySQL. You may give an identifier to retrieve information on a query for a different connection. Here is an example:
... $sql_stmnt = "SELECT * FROM workreq"; $results = mysql_query($sql_stmnt); print mysql_info( ); ...
Here are the results of running this script:
String format: 528 rows in set