$spp="SELECT count(order_generation) AS V_TOTAL1 , SUM(size_new) AS V_TOTAL FROM genneration_size WHERE order_generation='ASD' or order_generation='CSD' or order_generation='HRG' or order_generation='LBG' or order_generation='LSD' or order_generation='OBD' or order_generation='PFR' or order_generation='RAL' or order_generation='WSG' or order_generation='$hdata' GROUP BY order_generation";
$qu=mysql_query($spp);
while($arr=mysql_fetch_array($qu)){
$order_generation=$arr['order_generation'];
// สี่แถวล่างครับ ที่ ทำให้รันไม่ออก-------------
$data1[] = $arr[V_TOTAL]."<br>";
$data2[] = $arr[V_TOTAL1]."<br>";
$data_sum[]=$data1[] + $data2[];
echo $data_sum[];
$spp="SELECT count(order_generation) AS V_TOTAL1 , SUM(size_new) AS V_TOTAL FROM genneration_size WHERE order_generation='ASD' or order_generation='CSD' or order_generation='HRG' or order_generation='LBG' or order_generation='LSD' or order_generation='OBD' or order_generation='PFR' or order_generation='RAL' or order_generation='WSG' or order_generation='$hdata' GROUP BY order_generation";
$qu=mysql_query($spp);
while($arr=mysql_fetch_array($qu)){
$order_generation=$arr['order_generation'];
// สี่แถวล่างครับ ที่ ทำให้รันไม่ออก-------------
$data_sum=$arr[V_TOTAL] + $arr[V_TOTAL1];
echo $data_sum;