When using mysqli_fetch_object(), you can pass the name of an object as first parameter. By doing so, mysqli creates the corresponding object and automatically sets the variable