hello forums
I have this array:
Array
(
[0] => Array
(
[title] => SimpleXMLElement Object
(
[0] => Disturbed - "The Animal" on the Taste of Chaos Tour
)
[thumbnail] => SimpleXMLElement Object
(
[0] => http://i.ytimg.com/vi/I7dqXCZfUp4/0.jpg
)
[length] => SimpleXMLElement Object
(
[0] => 129
)
[rating] => SimpleXMLElement Object
(
[0] => 4.9216967
)
[count] => SimpleXMLElement Object
(
[0] => 228764
)
)
How can I remove the objects inside the array so it will look like this:
Array
(
[0] => Array
(
[title] => Disturbed - "The Animal" on the Taste of Chaos Tour
[thumbnail] => http://i.ytimg.com/vi/I7dqXCZfUp4/0.jpg
[length] =>
[rating] => 4.9216967
[count] => 228764
)
Im trying to do this solution but I can’t get it to work for me
PHP: Clear/Delete/Remove operations on ArrayObject class « Turboflash’s Blog
Thanks