Hi all there,
Sorry for this newbee question but how comes that the following
pattern: $r = "%<td valign=top><a href=\"([^>]+?)\"(.*?)>%";
does not return any result, while the pattern:
$r = "%<a href=\"([^>]+?)\"(.*?)>%";
returns me results, but too many (that's why I wanted to use the first
pattern, without any luck).
Called function: $match_count = preg_match_all ($r, $pdata, $items);
Example of $pdata:
<td width=80 align=center valign=top><a href="<link that should not be
grabbed by the pattern>" id=r><img src=image.jpg width=66 height=79
alt="" border=1><br><font size=-2>Bla Bla text</font></a></td><td
valign=top><a href="<link that should be grabbed by the pattern>"
id=r>Bla bla text</a><br>
Can Anyone help, please?
Thanks.
Fabian