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.
I want it to be like thisPHP Code: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 ) )
Without the first array 0 key.PHP Code: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 )



Reply With Quote


Bookmarks