I have a problem to get data from a website.... Please help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rlebek
Forum Newbie
Posts: 2
Joined: Sat Jun 15, 2002 5:33 pm
Location: Germany

I have a problem to get data from a website.... Please help

Post by rlebek »

Hi everybody,

I am Ronny and I have a problem. I want to get some data from website. The data I want to show in an separate html-file.

Example:

very long example link

I have this url and then an html-table opens. The data in the table, I want to get and show on an other html-table. Can me tell somebody how I can get the data from the table in an separate html-table with my own design???

Thanks a lot.

Ronny
User avatar
e+
Forum Commoner
Posts: 44
Joined: Mon Jun 17, 2002 7:07 am
Location: Essex, UK

Post by e+ »

It's a bit rude to harvest stuff of other peoples sites but ignoring that you could always try using regular expressions to match bit's of the code against what you know will be there. Try going for bits like <td> etc, of course if the format of the page changes your script dies.
Post Reply