maxdb_warning_count maxdb->warning_count Returns the number of warnings from the last query for the given link &reftitle.description; &style.procedural; intmaxdb_warning_count resourcelink &style.oop; maxdb intwarning_count maxdb_warning_count returns the number of warnings from the last query in the connection represented by the link parameter. &reftitle.returnvalues; Number of warnings or zero if there are no warnings. &reftitle.examples; 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 ]]> &example.outputs.similar; Number of warning: 0 ]]> &reftitle.seealso; maxdb_errno maxdb_error maxdb_sqlstate