Re: [PHP] modify an element of a HTML tag within a string

2002-07-24 Thread Analysis Solutions
Hi Justin: On Fri, Jul 19, 2002 at 01:50:08PM +1000, Justin French wrote: 1. look for a given tag eg DIV 2. capture the tag (everything from 'DIV' up to the '') 3. look for a given attribute (eg ID=foo, ID=foo, ID='foo' -- all valid ways) 4. capture it 5. be given the opportunity to

[PHP] modify an element of a HTML tag within a string

2002-07-18 Thread Justin French
Hi all, I've asked simular questions before, but I think I'm finally asking the *right* question to get the right answer. I'm look for some suggestions on the best method of parsing a HTML document (or part thereof), with the view of CAPTURING and MODIFYING a specific element of a specific tag.