Welcome Guest, Not a member yet? Register   Sign In
Noob! Accessing a variable from an array
#7

[eluser]trickymh[/eluser]
Hi Adam,

I tried your code and got the original errors.

I have tried the var_dump thing before, and it shows the data I'm after, which is why it's so frustrating i can't access it. This is the output:

object(stdClass(2) { ["id"]=>string(1)"1"["name"]=>string(9)"Villa One" }

Thanks for your time!


Messages In This Thread
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 05:13 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 05:56 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:01 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:03 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:04 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:18 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:23 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:25 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:28 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:32 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:38 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 06:47 AM
Noob! Accessing a variable from an array - by El Forum - 04-10-2010, 07:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB