Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 3rd, 2007, 01:34 PM
Registered User
 
Join Date: Dec 2003
Location: buenos aires, capital, Argentina.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to francofm76
Default Html parser

Hello people
I'm new in php.
I'm looking for an example of how to parse a HTML file with PHP to retrieve some data from a table. I don't know what is the class o the function that a must to use.
For example, I have a HTML file, and I need to read some tags inside this html with a php page.
Any help is welcome.
 
Old July 31st, 2007, 09:54 AM
Registered User
 
Join Date: Jul 2007
Location: Dhaka, Dhaka, Bangladesh.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shimul39 Send a message via Yahoo to shimul39
Default

You can use Regular Expression to parse the html and grab the desired tags or anything.

You better learn Regular Expression and have them test for your purpose.
www.regular-expressions.info

Thanks

http://www.shimul.info




Similar Threads
Thread Thread Starter Forum Replies Last Post
Html parser testing Manoah HTML Code Clinic 0 August 6th, 2008 09:55 PM
Saxon Parser ravi_sri24 XSLT 7 February 8th, 2008 06:25 AM
Parser html francofm76 PHP How-To 1 July 4th, 2007 08:01 AM
HTML parser madhukp Classic ASP Basics 1 February 2nd, 2006 05:19 PM
Parser Error shupiR ASP.NET 1.0 and 1.1 Basics 4 January 6th, 2006 12:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.