Hello,
In a previous question, user helped me but i'm stuck of doing simple request :
<?php $nodes = $xPath->query('//table[@class="some_class"]');
But it returns me the whole table datas instead of rows of the table, that's why i want to retrive only "td" of the table.
I tryed (but it's not working)
<?php $nodes = $xPath->query('//table[@class="some_class"]/tbody/tr');
What am I doing wrong please ?
*EDIT HTML structure *
<table class="some_class">
<tbody><tr>
<td class="firstcol" width="160">name</td>
<td width="250">Some Data</td>
</tr>