我有一个我希望在Twig中显示的数组。
Dim FirstDate As Date
Dim LastDate As Date
' and then
" ... [status] Like '*" & statusShip & "*' And (Nz([shipStatusDate], Date()) Between #" & Format(FirstDate, "yyyy\/mm\/dd") & "# And #" & Format(LastDate, "yyyy\/mm\/dd") & "#)"
$Products= array(
'0'=> array(
'0'=> 'apple',
'1'=> '1',
'2'=> 'warehousename',
'3'=> '34.54'
),
'1' => array(
'0'=> 'mango',
'1'=> '3',
'2'=> 'warehousename',
'3'=> '33.3'
),
'2' => array(
'0'=> 'orange',
'1'=> '5',
'2'=> 'warehousename',
'3'=> '73.4'
)
);
错误:无法访问密钥“1”