Changed mysqli to fetch_assoc()

fetch_assoc() provides better behavior than fetch_array()