maxdb_warning_count maxdb->warning_count Returns the number of warnings from the last query for the given link Description Procedural style: intmaxdb_warning_count resourcelink Object oriented style (property): maxdb intwarning_count maxdb_warning_count returns the number of warnings from the last query in the connection represented by the link parameter. Return values Number of warnings or zero if there are no warnings. See also maxdb_errno, maxdb_error, maxdb_sqlstate Example Object oriented style query("CREATE TABLE temp.mycity LIKE hotel.city"); /* a remarkable city in Wales */ $query = "INSERT INTO temp.mycity (zip, name) VALUES('11111', 'Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch')"; $maxdb->query($query); printf ("Number of warning: %d\n", $maxdb->warning_count); /* close connection */ $maxdb->close(); ?> ]]> Procedural style ]]> The above examples would produce the following output: Number of warning: 0 ]]>