помогите найти ошибку

nicha

Guest
помогите найти ошибку
<?
$hostname = "localhost";
$username = "db";
$password = "666";
$dbName = "db";

MYSQL_CONNECT($hostname,$username,$password) OR DIE("?? ???? ??????? ?????????? ");

@mysql_select_db("$dbName") or die("?? ???? ??????? ???? ?????? ");
$query = "SELECT * FROM audio";
$result = mysql_query($query)
or die(mysql_error());

# ??????? ?????????? ?????????? ???????
if (mysql_num_rows($result) > 0)
{
?>
<table width="95%" border="1">
<caption align="top">
?????? ?????????????
</caption>
<tr>
<th scope="col">????</th>
<th scope="col">???????</th>
<th scope="col">???????</th>
</tr>
<?
for ($i = 0; $i <=
mysql_num_rows($result) - 1; $i++)
{
$row =
mysql_fetch_array($result);
$artist = $row ["artist"];
$album = $row["album"];
$year = $row["year"];
echo"
<tr><td scope="col">$artist</td>
<td scope="col">$album</td>
<td scope="col">$year</td></tr>";
}
?>
</table>

}
?>
при отладке на локальном ругается на строчку:
<tr><td scope="col">$artist</td>
 
Сверху