Jump to content

Parse HTML Website, update DB, Output to user


cmgmyr

Recommended Posts

Hey all, I have a little project that I have to work on and I've had a slow start.

This will be a lotto app that will take the users numbers and output the specific date that they came up at (if any)

Procedure:
1. User goes to site and pushes "Get current info"
2. a script will parse [url=http://nylottery.org/ny/nyStore/cgi-bin/NumbersPastResults_Cat_337680_SubCat_337681_NavRoot_302.htm?DrwnDtMon=-1&DrwnDtYr=-1&DrwnDtDt=-1&RngDtMonStrt=6&RngDtMonEnd=6&RngDtYrStrt=2005&RngDtYrEnd=2006&RngDtDtStrt=7&RngDtDtEnd=7&]Lottory[/url]
3. after the site is parsed it will drop the data into a database
4. User enters 3 numbers
5. db query on the parsed data and returns the dates that those numbers came up (if any)

Can you guys point me in the right direction to parse the information from that site?

Thanks,
-Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.