I am getting array from database but it creating multiple array. I need only one array from database. Now simply I want to create one array from multiple array.
I got ar
You can iterate over the result set to create another array:
$res = array(); foreach ($array as $row) { $res = array_merge($res, $row); }