Hello,
I am trying to make a script to read an .html file and print out what I only want.
Basicly I need to take this string
<td><a href='LINK1' target='_blank'><img src='IMGSRC' onmouseup="className='visited'" border=2></a></td>
and grab LINK1, IMGSRC and stick that into an array.
LINK1 and IMGSRC are dynamic and are not hardcoded, and sometimes the single-quotes are surround LINK1 and IMGSRC could be double, " instead of '.
But the information i need is always between <td> and </td>.
I know you have to use preg_match But i cant seem to get the expression right, can anyone help out?