change to `MYSQLI_BOTH` from `MYSQL_BOTH`