Fix mysqli_query return value for query without result

Fixed