<div class="codetitle"> <span><a style="CURSOR: pointer" data="24647" class="copybut" id="copybut24647" onclick="doCopy('code24647')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code24647"> <br>$nodes = @$xpath->query("//*[@id='main_pr']/img/@src");<br>$prurl = $nodes->item(0)->nodeValue;<br> </div>