阅读背景:

如何通过ajax php调用返回包含json对象的数组/ json对象?

来源:互联网 

Basically what I'm trying to do is returning the results of a mysql query. I know how to put each row of the query results into its own JSON object, now I'm just struggling with a way so that if there's multiple lines of results to return it to my jquery. In my jquery I call the $.ajax() function and I don't have any issues with that. My problem lies within the success part, where I want to be able to do something like the following:Basically what I'm trying to do is returning th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: