Replace mysqli_fetch_array with mysqli_fetch_assoc