php-file_get_contents取文件中数组元素的用法
用file_get_contents()抓取了 这个网址上的内容http://simonfenci.sinaapp.com/index.php?key=simon&wd=1314abc看似好像反回的是数组。。但是我不管怎么用foreach循环都报错。。我只想把数组中的word里面的值 取出来。方法如下:正解(其他的字段一样,把word替换即可)$s=file_g
原创
2016-09-05 18:20:45 ·
3512 阅读 ·
0 评论