foreach ($ChartData2 as $c3)
{
echo $c3->Avr;
}
这是我的代码,结果是here
我希望像这样显示
ApplyMonth | Avr | TestCnt
2013-06-01 | 0 | 0
2013-06-01 | 0 | 0
2013-06-03 | 0 | 0
2013-06-04 | 77.8 | 0
...
2013-06-12 | 80.0 | 1
...
2013-06-14 | 50.0 | 1
...
2013-06-30 | 0 | 0
如何在foreach值中创建空值?