How to get value from array? message: "Cannot use object of type stdClass as array" |
(10-02-2018, 02:50 AM)kaitenz Wrote: That's easy. before i use this code "$a[0]->id;" but message error. but after I tried again it turned out to be. Surprisingly. there might be an error when defining $a. hehe Thanks |
Messages In This Thread |
How to get value from array? message: "Cannot use object of type stdClass as array" - by DELE - 10-02-2018, 02:39 AM
RE: How to get value from array? message: "Cannot use object of type stdClass as ... - by kaitenz - 10-02-2018, 02:50 AM
RE: How to get value from array? message: "Cannot use object of type stdClass as ... - by DELE - 10-02-2018, 04:10 AM
|