I am getting Notice: Trying to get property of non-object
at:
$var = trim($article->find('span[id$=qty]', 0)->innertext);
$article is a 开发者_如何学运维simple_html_dom()
object.
Maybe span[id$=qty]
evaluates to null; means: no node was found.
I am getting Notice: Trying to get property of non-object
at:
$var = trim($article->find('span[id$=qty]', 0)->innertext);
$article is a 开发者_如何学运维simple_html_dom()
object.
Maybe span[id$=qty]
evaluates to null; means: no node was found.
精彩评论