Before I go building this, I want to know if it already exists.
I need some PHP code that will read a web page and return all text that
comes between <td></td> tags in an array.
So if there were three tables on that page, it would return the first
table's fourth row, third column in a variable such as:
$tableArray[0][3][1]
// ^ ^ ^ - 2nd <td></td>
// ^ ^ - 4th <tr></tr>
// ^ - 1st <table></table>
Does something like this exist somewhere where I can grab it, or do I have
to build it from scratch?
--
[ Sugapablo ]
[ http://www.sugapablo.com <--music ]
[ http://www.sugapablo.net <--personal ]
[ sugapablo@12jab ber.com <--jabber IM ]
I need some PHP code that will read a web page and return all text that
comes between <td></td> tags in an array.
So if there were three tables on that page, it would return the first
table's fourth row, third column in a variable such as:
$tableArray[0][3][1]
// ^ ^ ^ - 2nd <td></td>
// ^ ^ - 4th <tr></tr>
// ^ - 1st <table></table>
Does something like this exist somewhere where I can grab it, or do I have
to build it from scratch?
--
[ Sugapablo ]
[ http://www.sugapablo.com <--music ]
[ http://www.sugapablo.net <--personal ]
[ sugapablo@12jab ber.com <--jabber IM ]
Comment