![]() |
|
|
#1 |
![]() Join Date: Aug 2008
Location: Minnesota, USA
Posts: 2,098 (1.20/day)
Thanks: 739
Thanked 1,030 Times in 598 Posts
|
Parse Web Page to MySQL Db
accidental edit
Last edited by TIGR; Sep 14, 2011 at 11:33 AM. |
|
|
|
|
|
#2 |
|
Benevolent Dictator
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,793 (4.18/day)
Thanks: 184
Thanked 10,293 Times in 3,176 Posts
|
just fetch the page via curl functions or file_get_contents, extract whatever info you need via simple string processing or preg_match and put it in your db
|
|
|
|
| The Following User Says Thank You to W1zzard For This Useful Post: |
|
|
#3 | |
![]() Join Date: Aug 2008
Location: Minnesota, USA
Posts: 2,098 (1.20/day)
Thanks: 739
Thanked 1,030 Times in 598 Posts
|
Quote:
A recent head injury has left me hazy on much of the coding and programming I once understood. At this point, all I understand is basic PHP and basic use of phpMyAdmin for MySQL. I am learning all over, as I go. Thank you for getting me started. |
|
|
|
|
|
|
#4 |
![]() Join Date: Aug 2007
Location: Geneva, FL, USA
Posts: 3,010 (1.42/day)
Thanks: 567
Thanked 606 Times in 487 Posts
|
The first table.
PHP Code:
PHP Code:
PHP Code:
Last edited by Jizzler; Nov 2, 2010 at 02:48 PM. |
|
|
|
| The Following User Says Thank You to Jizzler For This Useful Post: |
|
|
#5 | |
![]() Join Date: Aug 2008
Location: Minnesota, USA
Posts: 2,098 (1.20/day)
Thanks: 739
Thanked 1,030 Times in 598 Posts
|
Quote:
|
|
|
|
|
|
|
#6 |
![]() Join Date: Aug 2007
Location: Geneva, FL, USA
Posts: 3,010 (1.42/day)
Thanks: 567
Thanked 606 Times in 487 Posts
|
No prob. My regex isn't always the best or most efficient pattern (I don't do enough of it to get the experience), but if you have some troubles, I can probably help on the second table tonight.
|
|
|
|
| The Following 2 Users Say Thank You to Jizzler For This Useful Post: |
|
|
#7 |
![]() Join Date: Feb 2010
Location: Germany, near Munich
Posts: 62 (0.05/day)
Thanks: 18
Thanked 12 Times in 11 Posts
|
I have done this on other Projects for my Team.
Keep in Mind, on every Code Change the Staff will do in the Future you have to modify your Script also. That can mean much, much work. ![]() Helli |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any way to get a black background before a web page is loaded? | Meizuman | General Software | 7 | Jul 28, 2010 12:20 AM |
| can a web filter block web page formatting? | Hybrid_theory | Comments & Feedback | 4 | Jun 19, 2010 11:21 PM |
| TPU web Page Refresh Very Slow | modder | Comments & Feedback | 3 | Feb 22, 2010 03:30 PM |
| Building a Web Page Help | CybertechComputerz | Programming & Webmastering | 5 | Apr 27, 2009 08:57 AM |