fastsol1
06-30-2011, 03:40 AM
What can I use to make the keys and values of this array the keys and values of the main part of the array and not a sub array of the main.
Array ( [0] => Array ( [id] => 2 [art_title] => This my first news post [art_short_desc] => asdfr [art_keywords] => acfr [art_body] => I hope this works straight away [art_date] => 2011-06-27 17:12:03 ) )
I want it to be like this
Array ( [id] => 2 [art_title] => This my first news post [art_short_desc] => asdfr [art_keywords] => acfr [art_body] => I hope this works straight away [art_date] => 2011-06-27 17:12:03 )
Without the first array 0 key.
Array ( [0] => Array ( [id] => 2 [art_title] => This my first news post [art_short_desc] => asdfr [art_keywords] => acfr [art_body] => I hope this works straight away [art_date] => 2011-06-27 17:12:03 ) )
I want it to be like this
Array ( [id] => 2 [art_title] => This my first news post [art_short_desc] => asdfr [art_keywords] => acfr [art_body] => I hope this works straight away [art_date] => 2011-06-27 17:12:03 )
Without the first array 0 key.