I am using this query to display available artwork.
$query = "SELECT * FROM artwork WHERE status = 'available' ORDER BY associated DESC";
$result = mysql_query($query);
In this table there is also a variable called $artistId which is not set. I would like to get a count
on all the available artworks done by specific artists. How would I go about getting these numbers for
all artists?
Thanks in advance,
Lindsay