What are the potential contents of an array storing multiple entries from a database query in PHP?

When storing multiple entries from a database query in PHP, the array can potentially contain various types of data depending on the columns retrieved from the database. Each entry in the array would represent a row from the database table, with each column value stored as an element in the array. It is important to properly structure the array to ensure easy access to the data when processing it further in the PHP code.

// Assuming $queryResult contains the result of a database query fetching multiple rows
$dataArray = array();

while($row = $queryResult->fetch_assoc()) {
    $dataArray[] = $row;
}

// Accessing the data in the array
foreach($dataArray as $data) {
    echo $data['column_name']; // Accessing a specific column value from the array
}