Hello...
I am downloading some public information website regarding my community neighbors from the county assessors office...
If I have:
<span id="_ctl5_lblOwner">MAGUIRE TIM/CHERYL</span>
What is the best way to 'capture' (MAGUIRE TIM/CHERYL)...?
Also - the website HTML is loaded into a variable --> $htmlData
You can see 'sample output' at: http://myPVHOA.com/curl.php
I was thinking about running through line by line looking for a match on '_ctl5_lblOwner' - then using split() on the first span tag - then splitting the second portion on the span tag and leaving myself with the middle portion that I was looking for...
I have about 25 of these little 'sections' that I want to download into a database and thought there might be a better way to capture the data without using several loops...
Thank you for any help you can give me...