There are 4 ways of handling the result set of Mysql in PHP:
mysqli_fetch_array
mysqli_fetch_assoc
mysqli_fetch_object
mysqli_fetch_row