The mysqli_fetch_object() function returns the current row of a result set as an object. The field
names returned by this function are case-sensitive.
Practical use: This approach is very popular in object-oriented programming (OOP). Instead of
using square brackets $row["fruit"], we use the arrow operator $object->fruit.