Am html-ul:
Cod: Selectaţi tot
<table class="messages largepadded">
<tbody><tr>
<th width="35px"></th>
<th width="40px"></th>
<th width="505px"></th>
<th width="110px"></th>
</tr>
<tr>
<td><input id="delete_alert_374564823" type="checkbox" name="delete_alerts[]" value="374564823"></td>
<td>
<img src="/images/parts/icon-bell_notifications-empty.gif" class="icon">
</td>
<td>
<p class="smallpadded">
We inform you that 2.84 GOLD have been sold for 30.000000 RON from the citizen account using the offer posted on the <a href="#">monetary market</a>. </p>
</td>
<td>
<span class="fakeheight">50 minutes ago</span>
</td>
</tr>
</tbody></table>
Si expresia:
Cod: Selectaţi tot
$content = curl('http://www.ro.ro');
// Test
print $content;
preg_match('%<table class="messages largepadded">(.*)<\/table>%', $content, $x);
print_r($x);
Multumesc!

