Array
(
[0] => Array
(
[table] => form_identification
[column] => region
)
[1] => Array
(
[table] => form_identification
[column] => province
)
)
The output will be like this
Array
(
[0] => Array
(
[column] => region
)
[1] => Array
(
[column] => province
)
)
Thankyou
>Solution :
Hey welcome to stack overflow,
Consider your first array as $datas variable here and we are using for each whole array
foreach($datas as $data) {
$result[] = array('column' => $data['column']);
}
print_r($result);