Array Problem[SOLVED]
Posted: Fri Feb 16, 2007 8:47 am
hi all
I have a array and I want to reindex(remove integer keys) it. so how can I do it,
I get the array in this format.
how I want it to look like.
I have a array and I want to reindex(remove integer keys) it. so how can I do it,
I get the array in this format.
Code: Select all
Array
(
[0] => Array
(
[0] => Array
(
[id] => init_7857_1171540372
[fileid] => init_2937_1171290246
[title] => Java Exceptions
[description] => course for exception handling
[creatorid] => 3030070212
[datecreated] => 2007-02-15 13:52:52
[modifierid] => 3030070212
[datemodified] => 2007-02-15 15:38:43
[puid] => 8
)
)
)Code: Select all
Array
(
[id] => init_7857_1171540372
[fileid] => init_2937_1171290246
[title] => Java Exceptions
[description] => course for exception handling
[creatorid] => 3030070212
[datecreated] => 2007-02-15 13:52:52
[modifierid] => 3030070212
[datemodified] => 2007-02-15 15:38:43
[puid] => 8
)