I have the following array,
$myarray[0]['first_name']
$myarray[0]['last_name']
I want to turn it into:
$myarray['first_name']
$myarray['last_name']
with a simple oneliner?
I have the following array,
$myarray[0]['first_name']
$myarray[0]['last_name']
I want to turn it into:
$myarray['first_name']
$myarray['last_name']
with a simple oneliner?
this?
$myarray = $myarray[0];