Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] "Undefined Index" Issues and Problems
#2

[eluser]TheFuzzy0ne[/eluser]
What you have is an object inside of an array. I'm not sure why it needs to be in an array if there's only one object, but you should be accessing it like this:

Code:
echo $content[0]->name;


Messages In This Thread
[SOLVED] "Undefined Index" Issues and Problems - by El Forum - 05-25-2009, 07:26 AM
[SOLVED] "Undefined Index" Issues and Problems - by El Forum - 05-25-2009, 07:28 AM
[SOLVED] "Undefined Index" Issues and Problems - by El Forum - 05-25-2009, 07:31 AM
[SOLVED] "Undefined Index" Issues and Problems - by El Forum - 05-25-2009, 07:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB