Here is my recordset, but that's all the farther I can get. I modified this code that I found, and it does output the artists, but all on one line - not in a 3 column format.
<?php
$result = mysqli_query($demo, "SELECT * FROM wp_posts WHERE post_type = 'artist' ORDER BY post_title ASC;");
$wp_posts = array();
while ($row = mysqli_fetch_array($result)) {
$wp_posts[] = $row;
}
?>
<tr>
<?php for ($i = 0; $i < 50; $i++): ?>
<td>
<?php if (isset($wp_posts[$i])): ?>
<a href="http://localhost/mystor/qgm.php?loc=<?php echo $wp_posts[$i]['ID']; ?>" title=""><?php echo $wp_posts[$i]['post_title']; ?></a>
<?php else: ?>
<?php endif; ?>
</td>
<?php endfor; ?>
</tr>
</table>```
Thanks.