Weird error using PHP Simple HTML DOM parser

前端 未结 9 1418
梦谈多话
梦谈多话 2020-11-29 10:30

I am using this library (PHP Simple HTML DOM parser) to parse a link, here\'s the code:

function getSemanticRelevantKeywords($keyword){
    $results = array(         


        
9条回答
  •  天命终不由人
    2020-11-29 11:14

    your script is OK. I receive this error when it doase not find the element that i'm looking for on that page.

    In your case, please check if the page that you are accessing it has 'SPAN' element

提交回复
热议问题