What methods can be used in PHP to create separate visual "cards" for each data record displayed from a database query?

When displaying data records from a database query in PHP, you can create separate visual "cards" for each record by using HTML and CSS to structure and style the content. One common method is to use a loop to iterate through the query results and generate a card for each record, containing the relevant data fields.

```php
<?php
// Assuming $results is an array of data records from a database query

foreach ($results as $row) {
    echo '<div class="card">';
    echo '<h3>' . $row['title'] . '</h3>';
    echo '<p>' . $row['description'] . '</p>';
    echo '</div>';
}
?>
```

In the code snippet above, we iterate through the `$results` array using a `foreach` loop and output the data fields within HTML elements to create a visual card for each record. You can further customize the styling of the cards using CSS to achieve the desired layout and design.