Error function is not working
// Define database connection
$db = new MysqliDb($db_host,$db_user,$db_pss,$db_name);
// Check if any error occur while establishing database connection. If yes, stop further processing.
if ($db->getLastErrno() != 0) {
die("ERROR : -> ".$db->getLastError());
}
I have made $db_pass field as $db_pss in order to see the error message however it doesnt show the errors, please suggest what could be the reason
Error function is not working // Define database connection $db = new MysqliDb($db_host,$db_user,$db_pss,$db_name);
I have made $db_pass field as $db_pss in order to see the error message however it doesnt show the errors, please suggest what could be the reason