I am running SQL select query,getting the result in below format after executing the query.
Array
(
[0] => Array
(
[usertype_id] => 14
)
[1] => Array
(
[usertype_id] => 15
)
[2] => Array
(
[usertype_id] => 17
)
)
But i need result in below format
Array
(
[0] => 14
[1] => 15
[2] => 17
)
So how to loop through this to get the output in above format.