I have HTML code like following structure how in PHP to fetch TR only from first table using PHP Simple HTML DOM find method.
    <table width="100%" cellspacing="0" cellpadding="0" border="0" class="convertedTable">
      <tbody>
       <tr>
         <td>
           <table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
              <tr>
               <td>...</td>
               </tr>
             </tbody>
            </table>
           </td>
          </tr>
<tr>
         <td>Some text</td>
          </tr>
<tr>...</tr>
....
         </tbody>
        </table>
I tried these conditions, but doesn't work.
`
$file->find('/body/table/tr')
$file->find('/body/table[!class]/tr')
$file->find('body table tr')
Thanks for your advice.
 
     
    