Dear All,
I am very new to php programming and mysql. I have searched through the web but cant find the right answer.
Can anyone tell me how to read html page from website and store in database?
I believe using httprequest should be the answer but how can I read and store it in db?
Thanks in advance for any help.
Cheers,
Richard
using httprequest to store html page into mysql db
Moderator: General Moderators
Re: using httprequest to store html page into mysql db
Best way to get the website is using cURL:
http://us2.php.net/manual/en/curl.examples-basic.php
As for putting it in the database, there are too many steps to detail in a forum post. Check out w3schools:
http://www.w3schools.com/sql/default.asp
http://us2.php.net/manual/en/curl.examples-basic.php
As for putting it in the database, there are too many steps to detail in a forum post. Check out w3schools:
http://www.w3schools.com/sql/default.asp
Re: using httprequest to store html page into mysql db
thanks Reviresco.
the information is useful and enough for me to start off
the information is useful and enough for me to start off