Answer the question
In order to leave comments, you need to log in
How to get data from another site and store it in db?
Hello.
Do not tell me how to get information from another site.
I need to get the exchange rate for gold every 10 minutes and show it all on the site...
Specifically, the site www.forexpf.ru/chart/gold
is interested in the data of this table
. use PHP.
I assume that PHP will somehow pull this data and save it to me in the database, and when the page is generated, the data from the database will be shown to the user ..
What is the action plan?
Thanks in advance for help
Answer the question
In order to leave comments, you need to log in
Get the page code for example like this
Then you study the source code of this page, find the necessary values, working with the code as with a regular string, search, delete, cut - parse in general, extracting the necessary data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question