View Full Version : visit URL.. select text.. insert into database?

11-05-2011, 11:38 PM
This seems like a big project that isn't my knowledge.

I would like to create a program or a code I can put it my page or something along the lines of that, that will visit a URL that I input, select certain text from a page, and inserts the data into a table called "offers"

I want it to visit a site and select the text after "Campaign Name" and "Requirements", "Country", "rate", "category" and "URL"

All of the above things are in a new <td> after the <td> that says Campaign name and stuff. EXCEPT URL which is in a DIV TABLE.

Here is a screenshot of one of the pages I would like it to extract info from: http://snpr.cm/BOUlNk.png

If you need any more info please don't hesitate to ask. This is not in my field of knowledge which is why I've come here to ask you guys.

Old Pedant
11-06-2011, 02:24 AM
It's not a very big project. Maybe two to five hours for a seasoned programmer, depending on if there are any "gotchas" you haven't brought up.

Why not put it up on the medium projects page?

Might even qualify as small project.

11-06-2011, 06:48 AM
Nevermind.. i found an easier way to do it :)