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).
Returns TRUE on success or FALSE on failure.