abrarazeem Posted November 26, 2009 Share Posted November 26, 2009 i want to write a code in php that can grab a data of tables on other webpage and store it in arrays or database Link to comment https://forums.phpfreaks.com/topic/182997-help-on-writing-a-code-for-grabing-data-of-tables-on-other-website/ Share on other sites More sharing options...
seksislav Posted November 26, 2009 Share Posted November 26, 2009 You want us to write it for u? Why dont you try doin something yourself and we can help you out making it work. Link to comment https://forums.phpfreaks.com/topic/182997-help-on-writing-a-code-for-grabing-data-of-tables-on-other-website/#findComment-965870 Share on other sites More sharing options...
abrarazeem Posted November 26, 2009 Author Share Posted November 26, 2009 i m new to php just give me ideo how can i achieve this dont tell me the code Link to comment https://forums.phpfreaks.com/topic/182997-help-on-writing-a-code-for-grabing-data-of-tables-on-other-website/#findComment-965871 Share on other sites More sharing options...
seksislav Posted November 26, 2009 Share Posted November 26, 2009 Well u need to write a robot that will crawl the website you want. Using a regex you can find the specific text you are looking for in the page. So .. check what curl() and fopen() do. After that check what preg_match_all() dose. Link to comment https://forums.phpfreaks.com/topic/182997-help-on-writing-a-code-for-grabing-data-of-tables-on-other-website/#findComment-965873 Share on other sites More sharing options...
abrarazeem Posted November 26, 2009 Author Share Posted November 26, 2009 i already used curl to reach that page and store that page in a variable the data in the tables are changing after few minutes Link to comment https://forums.phpfreaks.com/topic/182997-help-on-writing-a-code-for-grabing-data-of-tables-on-other-website/#findComment-965932 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.