PDA

View Full Version : List, JSON, PHP example needed please



Chump
28 Aug 2008, 1:49 PM
Hi

I'm looking for an example of Ext GWT List widget, JsonReader and PHP working together.

My PHP so far looks like this:

<?php
echo json_encode(array(array("TableName"=>"Frank"), array("TableName"=>"Earnest")));

It seems to be working okay and returns this:

[{"TableName":"Frank"},{"TableName":"Earnest"}]

I need to know how to read this then either parse the data and load it into a List or bind it directly.