<?phpmysqli_report(MYSQLI_REPORT_OFF); // restore classic error handling instead of throwing exceptionsdefine('DB_SERVER','localhost');define('DB_USER','u315794290_news_admin');…