Hey,
I am working on an app in which I am using [PHP Simple HTML DOM Parser](http://simplehtmldom.sourceforge.net/ “”). Now what is I have for example following HTML which I have fetched in sting:
<table>
<tbody>
<tr>
<th>Column1</th>
<th>Column2</th>
<th>Column3</th>
</tr>
<tr>
<td><a href=”#”>First Link</a></td>
<td>Some content here
<td><a href=”#”>Another Link</a></td>
</tr>
<tr>
<td><a href=”#”>First Link</a></td>
<td>Some content here
<td><a href=”#”>Another Link</a></td>
</tr>
</tbody>
</table>
Now what I want is to fetch first link of every
element and echo it’s src on screen. |