https://websitebeaver.com/prepared-statements-in-php-mysqli-to-prevent-sql-injection#introduction
One Row
$result->fetch_assoc() - Fetch an associative array
$result->fetch_row() - Fetch a numeric array
$result->fetch_object() - Fetch an object array
All
$result->fetch_all(MYSQLI_ASSOC) - Fetch an associative array
$result->fetch_all(MYSQLI_NUM) - Fetch a numeric array