$r=mysql_query($sql) or exit(mysql_error());
while($line = mysql_fetch_assoc($r){
print_r($line);
}
$r=mysql_query($sql) or exit(mysql_error());
while($line = mysql_fetch_assoc($r){
print_r($line);
}
Цитата |
Array ( [login] => Axx [1 March] => 9 [2 March] => 1 [TOTAL] => 10 ) Array ( [login] => AxBBB [1 March] => 0 [2 March] => 18 [TOTAL] => 18 ) |
$arr[] = $arr1;
$arr[] = $arr2;
$summ_arr = $arr_1 + $arr_2;