views:

129

answers:

2

hi,

I want to extract particular part of HTML using tidy in php.

the html page has table in it and i just want to fetch that table from html page.

please help and post the solution....

Thanks

A: 

The PHP Simple DOM parser is better suited for the job I think. There are good usage examples on the site.

A function to grab a table should look like this (untested but should work):

echo $html->find('table[id=mytable]', 0)->plaintext;
Pekka
A: 

where is my rent a coder affiliate program link?

RandyMorris
Where is your answer to the question?
Oded
It was a sarcastic humorous response the the demand for a solution as opposed to a question. Are you a robot or something?
RandyMorris