php tambahkan ke array di loop
$newArray = array();
foreach($var in $oldArray){
$newArray[] = $var;
}
Impossible Iguana
$newArray = array();
foreach($var in $oldArray){
$newArray[] = $var;
}
array:3 [▼
0 => array:4 [▼
0 => "mon"
1 => "wed"
2 => "thu"
3 => "sat"
]
1 => array:3 [▼
0 => "sun"
1 => "tue"
2 => "fri"
]
2 => array:1 [▼
0 => "fri"
]
]