1
我怎麼能 「找到」 這些ID的所有元素髮現的元素:正則表達式在PHP簡單的HTML DOM解析器
ctl00_cphContent_ctl05_Panel01,
ctl00_cphContent_ctl06_Panel01,
ctl00_cphContent_ctl07_Panel01,
ctl00_cphContent_ctl08_Panel01 , 等...
我試圖
foreach($html->find('a#ctl00_cphContent_ctl'.*.'_Panel01') as $positions) { echo "Test!";}
但它不工作!有人能幫助我嗎?我搜索但沒有找到類似的東西...
無論如何非常感謝! :d – Alexandros