之间的过滤器我有这个字符串:从一个字符串中两个,用绳子
[{"position":"1d","number":10,"nb_plot1":12,"max_actions":3}
{"position":"2d","number":7,"nb_plot1":15,"max_actions":30}
{"position":"3d","number":100,"nb_plot1":2,"max_actions":5}]
,我需要获得两个不同的字符串具有不同的格式是这样的:
的数字:
[10,7,100]
的位置:
['1d','2d','3d']
并剪下不必要的字符串。
我是一个noob抱歉。
http://php.net/manual/en/function.json-decode.php你会发现这是很有帮助的 – Dave 2012-04-25 19:51:24
你想获得两个阵列不串 – mgraph 2012-04-25 19:51:42
@戴夫@mgraph谢谢! – user1147636 2012-04-25 19:54:50