Accessing element of object array


Posted on 16th Feb 2014 07:03 pm by admin

Hello

My object looks like this:


Array ( [0] => User Object ( [id] => [username] => [password] => [title] => [firstname] => [surname] => [email] => [active] => [salt] => M}8 ) )


This is the result of a SQL method from my SQL class.


$result_array = self::find_by_sql($sql);


Can you please tell me how I can access the 'salt' element of the object array above ? I've been trying:

$result_array->salt

but that doesn't work.

Thanks for any assistance

No comments posted yet

Your Answer:

Login to answer
165 Like 39 Dislike
Previous forums Next forums
Other forums

Multiple includes losing variables
Hey all,

just starting out w php and ran into a problem pretty quickly. I'm
including seve

how to configure ADS in ABAP instance
Hi All,

I am working on r/3 4.7 ABAP system.Can we configure ADS(adobe document services)

Bijoux Tiffany or , Tiffany Outlet , Tiffany Outlet Store
[b][url=http://www.tiffanycorp.cn/fr/tiffany-portecl%C3%A9s-c-6.html]tiffany porte - clés[/url][/b]

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

Christian Louboutin Atomic 100mm Leder Taupe [Christian Louboutin1492] - €160.89 : Christian Louboutin Outlet , christianlouboutinboots.me
Christian Louboutin Pumpen Verkauf
Christian Louboutin Wohnungen Verkauf
[b][url=http://www.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS