function copyLinkWhatsup()
{
var dummy = document.createElement('input'),
text = window.location.href;
document.body.appendCh
// first set general PHP error reporting
// in order to be sure we will see every error in the scriptini_set('display_errors',1);error_reporting(E_ALL);
/*** THIS! ***/mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);/*** ^^^^^ ***/$db = $mysqli = new mysqli($host, $user, $pass, $database);
$res = $db->query("apparently not valid SQL string");$res->fetch_assoc();