我的 HTML 代码:
<table width="100%" cellpadding="6" cellspacing="0">
我想通过不仅指定宽度而且还指定单元格填充和单元格间距来选择此表。
我正在使用这个 PHP 代码:
$query = $xpath->query('//table[@width|@cellpadding|@cellspacing]');
但它仍然显示整个html源而不是我想要的..
请帮助我..
我的 HTML 代码:
<table width="100%" cellpadding="6" cellspacing="0">
我想通过不仅指定宽度而且还指定单元格填充和单元格间距来选择此表。
我正在使用这个 PHP 代码:
$query = $xpath->query('//table[@width|@cellpadding|@cellspacing]');
但它仍然显示整个html源而不是我想要的..
请帮助我..