php - retrieving specific data from a website
Get the solution ↓↓↓Solution:
Use SimpleHTMLDom parser for php:
http://simplehtmldom.sourceforge.net/
Download here:
http://sourceforge.net/projects/simplehtmldom/files/
Documentation here:
http://simplehtmldom.sourceforge.net/manual.htm
That is as I have experience with parsing the best tool for parsing HTML with php...
Also you don't need to use curl for getting content if it is not necessary, for simpleHTMLDom parser just use:
$remote_html = file_get_html("http://www.somesite.com/");
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: cannot access offset of type string on string
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.