我正在尝试从中减去链接
<a class="link" href="http://www.x.ro/index.php?page=profile&aid=560030" title="Profilul lui
我试过了
<?php
$output2='<a class="link" href="http://www.x.ro/index.php?page=profile&aid=560030" title="Profilul lui';
preg_match_all('#<a\sclass="link"\shref="(.*?)"\stitle="Profilul#i', $output2, $match);
print_r ($match);
?>
没有显示... Array ( [0] => Array ( [0] =>
已解决...似乎 print_r 只是不t show anything, i don
知道为什么。var_dump 就像一个魅力