Fixed issue: mysqli_query fixes