$month=array("01","02","03","04","05","06","07","08","09","10","11","12");
for($i=0;$i<count($month);$i++){
$select=mysql_query("SELECT SUM(Price) as Total FROM tb_example WHERE month='".$month[$i]."'") or die (mysql_error());
$result=mysql_fetch_array($select);
echo $result['Total'];
}
$report_year = '2013'; // ส่งปีที่ต้องการออกรายงานเข้าไปหาผลรวมของทุกเดือนในปีนั้นๆ
$query=mysql_query("select month(date_field),sum(your_field) from your_table where year(date_field)=$year group by month(date_field)");