I'd suggest you read the section of the manual dealing with the MySQL functions before trying to continue any further:
http://www.php.net/manual/en/ref.mysql.php
mysql_fetch_array() doesn't accept an SQL statement, it takes a result set identifier.
$conn = mysql_connect("your_host", "username", "password");
mysql_select_db("your_db", $conn);
$rs = mysql_query("SELECT ArtistName, ArtistPhoto FROM ArtistTable", $conn);
while ($row = mysql_fetch_array($rs)) {
print ("<tr><td width='65%' valign='top'>".$row["ArtistName"]."</td>\n");
print ("<td width='35%' align='right'><img src=".$row["ArtistPhoto"]." width='80' height='80'
border='0'></td></tr>\n");
}
mysql_free_result($rs);
-geoff