I have en stdClass object array that looks like this

Array ( [10] => stdClass Object ( [inlast] => 2013-02-15 00:00:00 ... etc

Where the first number (10) is the uniqe identifier for that row, and the array contains all the rows in the table.

So my question is if its possible to pass this into javascript so any row becomes "managable" in the way of via javascript accessing some element through the unique identifier and then the column name "[inlast]"


Not by default. If you use a class that implements JsonSerializable then you can make it work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.