Forum Moderators: coopster

Message Too Old, No Replies

How to parse a html page?

Parse HTML pahes usinh PHP

         

rezash

6:35 pm on Jul 11, 2004 (gmt 0)

10+ Year Member



I would like to parse a html page and extract all image names and thier alt attributes.
Thanks for any code,

WhosAWhata

6:41 pm on Jul 11, 2004 (gmt 0)

10+ Year Member



take a look at the preg functions
especially preg_match
i'm afraid i'm not very good at the syntax so i can't give you the exact code