本帖最后由 w174642490 于 2010-01-27 14:34 编辑
我太菜了,搞不好, 就是第五块地不让锄草灭虫子.其他都正常,我看了代码
$Weed = "{\"weeds\":[{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":2,\"w2\":2,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0},{\"w1\":0,\"w2\":0,\"w3\":0}]}";
$pest="{\"pests\":[{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":2,\"p2\":2,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0},{\"p1\":0,\"p2\":0,\"p3\":0}]}";
我想问下,为什么就第五个括号里的是两个2,这是代表什么的?别的都是0.
难道问题在这里?高手不要笑话哈...
谁会解决啊,谢谢了 |