Hey!
I was wondering if it's possible to get the value of the id attribute in the <div> tag.
e.g.
<div id=00> <-- how would I use PHP to get that value?
Thanx.
Regards, Stezz.
Read the file into $file
Do preg_match_all('/<\s?div\s+?id\s?=\s?(.)?[\s ]/',$file,$matches); to parse it
All the ids will be in the $matches[1][] array.