'; } return $qry; } function db_affected_rows() { return mysqli_affected_rows($GLOBALS['main_db']); }