Welcome Guest, Not a member yet? Register   Sign In
logging a structure
#5

(This post was last modified: 07-23-2018, 08:05 AM by Pertti.)

Ah, $Arr[0] is an array?

I, for some stupid reason, assumed it was an object.

In that case $Arr[0]['Task_0'] should work, but probably best if you check what format and structure your array is with var_dump function.

Also noticed you have few extra . in the code right after -> that's probably why the code doesn't run. And you would need to use same method for all elements, not just for percent.
Reply


Messages In This Thread
logging a structure - by richb201 - 07-22-2018, 12:13 AM
RE: logging a structure - by Pertti - 07-22-2018, 03:03 AM
RE: logging a structure - by richb201 - 07-22-2018, 10:07 AM
RE: logging a structure - by richb201 - 07-23-2018, 07:35 AM
RE: logging a structure - by Pertti - 07-23-2018, 08:03 AM
RE: logging a structure - by richb201 - 07-24-2018, 04:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB