$ysql=mysql_query("select avg(price) avgP,avg(quality) avgQ from remark where p_id='$t3'");
$re=mysql_fetch_array($ysql);
echo $re['avgP'];
echo $re['avgQ'];
$ysql=mysql_query("select avg(price) avgP,avg(quality) avgQ from remark where p_id='$t3'");
$re=mysql_fetch_array($ysql);
echo $re['avgP'];
echo $re['avgQ'];