开发者

Invalid argument supplied for foreach() using Bing API

I am getting Invalid argument supplied for foreach() error. Am using Bing API. The code which contains the errors is.<?php foreach($obj->SearchResponse->Web->Result开发者_如何学Pythons as $value){ ?>


use var_dump and make sure that $obj->SearchResponse->Web->Results is indeed an array.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜