use fetch_assoc instead of fetch_array