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
Link to comment
Share on other sites

if you figure it out, let me know.
I had an idea for a app that lets you type in an actor and it parses IMDB.com and tells you how many degrees of seperation from Kevin Bacon that person is.

nobody steal my idea.    ::)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.