Fatal error: Cannot use string offset as an array
Posted
by learner
on Stack Overflow
See other posts from Stack Overflow
or by learner
Published on 2010-06-17T08:11:48Z
Indexed on
2010/06/17
8:13 UTC
Read the original article
Hit count: 197
Array ( [0] => Array ( [auth_id] => 1 [auth_section] => Client Data Base [auth_parent_id] => 0 [auth_admin] => 1 [sub] => Array ( [0] => Array ( [auth_id] => 2 [auth_section] => Client Contact [auth_parent_id] => 1 [auth_admin] => 1 )
)
)
[1] => Array
(
[auth_id] => 6
[auth_section] => All Back Grounds
[auth_parent_id] => 0
[auth_admin] => ,4
[sub] => Array
(
[0] => Array
(
[auth_id] => 7
[auth_section] => Edit Custom
[auth_parent_id] => 6
[auth_admin] => 1
)
)
)
[2] => Array
(
[auth_id] => 20
[auth_section] => Order Mail
[auth_parent_id] => 0
[auth_admin] => 1
[sub] =>
)
}
When I process the sub inner array it shows this error how can I avoid that :)
© Stack Overflow or respective owner