mysqli_report -- Enables or disables internal report functions
Syntax
bool mysqli_report ( int flags )
mysqli_report() is a powerful function to improve your queries
and code during development and testing phase. Depending on the flags it reports
errors from mysqli function calls or queries which don't use an index (or use a bad
index).
Table 1. Supported flags
Name
Syntax
MYSQLI_REPORT_OFF
Turns reporting off
MYSQLI_REPORT_ERROR
Report errors from mysqli function calls
MYSQLI_REPORT_INDEX
Report if no index or bad index was used in a query
/* this query should report an error */ $result = $mysqli->query("SELECT Name FROM Nonexistingtable WHERE population > 50000");
/* this query should report a warning */ $result = $mysqli->query("SELECT Name FROM City WHERE population > 50000"); $result->close();
$mysqli->close(); ?>
Php mysqli report Function syntax tag
mysqli report php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php mysqli report syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.