Changed fetch_array() to fetch_assoc()