Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
I figure there are much smarter PHP dudes out here than I am, and cannot figure this one out by myself (yet!). I have an HTML table I have stripped down to get rid of a bunch of unwanted code, and am left with this:

http://www.bladekeep.com/tmp/ps3.dat

Is there a way to grab only the following information out of the HTML code?

Medar
Test Server1
2
17
Lead Manager
17721
177
944
N/A
988
1932
June 1, 2004

I have tried parsing it looking for identifier tags, but cannot get it to work properly. I also tried displaying lines...

Code
$lines = file('ps3.dat'); <br />print $lines[407]; <br />print $lines[408]; <br />print $lines[410];
etc etc...but that did not work either, as it grabbed part of the HTML instead of just the data.

What I am doing, is pulling this off one of my sites that a family member admins, and storing it in a database on a separate site that I admin.

Thanks for any suggestions on functions, etc! I have never tried parsing anything before.

Sponsored Links
Entire Thread
Subject Posted By Posted
Parsing text/numbers from an HTML table Medar 06/03/2004 4:30 PM
Re: Parsing text/numbers from an HTML table DrChaos 06/03/2004 6:04 PM
Re: Parsing text/numbers from an HTML table scroungr 06/03/2004 6:42 PM
Re: Parsing text/numbers from an HTML table scroungr 06/03/2004 8:32 PM
Re: Parsing text/numbers from an HTML table Medar 06/04/2004 7:55 PM
Re: Parsing text/numbers from an HTML table scroungr 06/07/2004 2:07 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)