[nycphp-talk] PHP to ajax variable passing problem

Edward Potter edwardpotter at
Thu Aug 9 18:21:12 EDT 2007

I have been hooked on jQuery.  AMAZING  JS stuff.  There is an
ajax/form plug in that will handle all this.  Serialize, JSON, zillion
options.  Mixing it all up with php, and you can do pretty much

Plug in examples:

:-)  ed

On 8/9/07, Cliff Hirsch <cliff at> wrote:
>  My Ajax response handler uses this line, which is fairly typical:
>  var output = req.responseText;
>  >From php, I'm echoing back json. Example:
> {"status":1,"count":0,"data":""}
>  But instead of var output being an object, it is a string:
> "{"status":1,"count":0,"data":""}"
>  How do I make this an object?
>  Cliff
> _______________________________________________
> New York PHP Community Talk Mailing List
> NYPHPCon 2006 Presentations Online
> Show Your Participation in New York PHP

the Blog:
the Karma:
the Projects:
the Store:

More information about the talk mailing list