阅读背景:

PHP json_encode将行作为数组而不是对象返回

来源:互联网 

From my experience, when I json_encode data from a mysql table, the output is an object containing each row as an object within. What I want to do is to get each row as an array, like the example below (don't need the column names in there). How can I do that?From my experience, when I json_encode data fro




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

分享到: