please have a look at the attached script. Right now it outputs scraped content line by line on the screen.
I need this script to output scraped content in a way that i'll be able to write it with a single
mysql-call into a db. If writing to db is complete, a message like "write complete" should get displayed at the screen.
Please include the database connection and the write-to-db routine as well.
This needs to be done asap. Thanks.