For some reason this data is not transferring into the data, the data transfers but i dont want it just out on the screen, i want it in a table. At the moment the page shows the table headers but no data. I cant see any problem with this code but its not working, anyone see any errors?
<?php
$query = "SELECT * FROM item WHERE ProductId='$id'";
$result=mysql_query($query);
$row= mysql_fetch_array($result); ?>
<table>
<tr>
<td ><strong>Artist Name</strong></td>
<td ><strong>Album Name </strong></td>
<td ><strong>Price </strong></td>
</tr>
</table>
<?php
while($row=mysql_fetch_array($result))
echo "<tr><td>$row[Artist]</td> <td>$row[Album]</td><td>$row[Price]</td></tr> ";
mysql_close();
?>