Hi,
I have some PHP code that I wrote to download HTML from a website.
Part of the source has this:
<TR><TD CLASS=smaller>Permit/License age minimum:</TD><TD CLASS=smaller BGCOLOR="#eeeeee">18</TD></TR>
The code downloads the HTML for every state. I need a way to parse the code and store the age in a variable. Would a reg expression or a str search be better to use?
How would I do it using either way?
Thanks!