Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


stdClass Object to show in table
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

stdClass Object to show in table

XFS_BrianXFS_Brian Member
edited April 2013 in Help

I am learning as I am working on this but I am stuck on taking a stdClass Object from JSON and putting it into a table.

Let me give a bit more on what this module will be doing. With the latest release of SolusVM 1.14 Beta, you are now able to check the status of your slave servers. When the call is made to the slave, the output return is uptime and load (1,5,15). The output return is done in JSON with a stdClass Object. If you are willing to help me with this, please send me a message and I will provide you the code that I have wrote so far.

Comments

  • json_decode($x, true)
    print_r($x) and use as array

  • @dylziez said: json_decode($x, true)

    print_r($x) and use as array

    Thanks, I found out what I was doing. Thanks to joepie's help and yours, I did not put true in the code. Now I am able to use the output better.

Sign In or Register to comment.