Welcome Guest, Not a member yet? Register   Sign In
Database Problem with returning information.
#5

[eluser]Unknown[/eluser]
[quote author="WanWizard" date="1270597249"]As your print_r() output shows, an array of objects is returned, and not a single object.
You should therefore access this one as $test[0]->name;[/quote]

I've been looking for this solution for weeks..

Thanks!!


Messages In This Thread
Database Problem with returning information. - by El Forum - 04-06-2010, 10:05 AM
Database Problem with returning information. - by El Forum - 04-06-2010, 10:12 AM
Database Problem with returning information. - by El Forum - 04-06-2010, 12:40 PM
Database Problem with returning information. - by El Forum - 04-06-2010, 12:57 PM
Database Problem with returning information. - by El Forum - 04-21-2010, 05:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB