Jump to content

Extract html table data to an array


samtwilliams

Recommended Posts

Hi All,

 

I have been working on a project were by i want to extract data from a website and insert it into an array. I have got so far using the cURLlib to extract the table (which is a golf leader board). I have this http://www.prentongolfclub.co.uk/ept/

 

Now i know i need to use regex to clean the data and form the array but i a completely overwhelmed and don't know where to start.

 

Can anyone offer me some advice or even better some coding example on how i can form an array from the table on that website.

 

Thanks

Sam

Link to comment
https://forums.phpfreaks.com/topic/192310-extract-html-table-data-to-an-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.