error is : mysql_fetch_array() expects parameter 1 to be resource, boolean given in line 28
<? $result = mysql_query("SELECT * FROM chart1");
while ($row = mysql_fetch_array($result))
{
echo $row['price'];
}
?>