PHP Classes

Nice PHP Class

Recommend this page to a friend!

      PHP Scraper  >  All threads  >  Nice PHP Class  >  (Un) Subscribe thread alerts  
Subject:Nice PHP Class
Summary:How to extract an <a> tag in a table cell?
Messages:2
Author:Mário Ramos
Date:2012-03-08 03:15:03
Update:2012-10-29 14:43:10
 

  1. Nice PHP Class   Reply   Report abuse  
Picture of Mário Ramos Mário Ramos - 2012-03-08 03:15:04
Hi António,

How can I modify the pattern structure, so, say my 2nd tablecell holds a link and I want it?

Example
$s_model = '<tr
<td
<field>
</td>
<td
<!-- what goes here to extract link??? -->
</td>
<td
<field>
</td>
/tr>';

Thankx,
Mário

  2. Re: Nice PHP Class   Reply   Report abuse  
Picture of Miguel Lourinho Miguel Lourinho - 2012-10-29 14:43:10 - In reply to message 1 from Mário Ramos
Did you find an answer ?

Thank You.