Well this is the full code. I saw some errors in the code but I'm still getting the same parse error
<?php include connect.php; ?>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY bgcolor="maroon" text="BLUE" LINK="BLUE" VLINK="BLUE" ALINK="BLUE">
<TABLE cols="3" border="0" cellspacing="5">
<TR align="left" valign="top">
<TD>
<?php
if(!isset($artist)) {
if(!isset($album)) {
$result = mysql_query("select from artists");
while($row = mysql_fetch_array($result)) {
echo "<A HREF=index.php?artist=$row['artistid'] target=top>$row['artist']</A><BR>";
}
}
}
?>
<TD>
<?php
if(isset($artist)) {
if(!isset($album)) {
$result = mysql_query("select from albums where artistid = '$artist'");
while($row = mysql_fetch_array($result)) {
echo "<A HREF=index.php?artist=$row['artistid']&album=$row['albumid'] target='top'>$row['album']</A><BR>":
}
}
}
?>
<TD>
<?php
if(isset($artist)) {
$result = mysql_query("select from artists where artistid = '$artist'");
$artistdir = $result['directory'];
if(isset($album)) {
$result = mysql_query("select from albums where albumid = '$album' AND artistid = '$artist'");
$albumdir = $result['directory'];
$result = mysql_query("select * from tracks where albumid = '$album' AND artistid = '$artist'");
while($row = mysql_fetch_array($result)) {
$filename = $result['filename'];
echo "<A HREF='$artistdir $albumdir $filname target='_blank'>$row['track']</A><BR>";
}
}
}
?>
</table>
</body>