Hey thanks a lot man!
it worked just like i wanted.
php is really a good stuff!
i tried to change to get the just the link to:
$val = explode('<tr><td><b><a class="lista" href="/',$printing[1]);
$val = str_replace('">2002-12-04</a></b></td></tr>',"",$val[0]);
echo $val;
but it didn´t worked!