Código PHP:
$textbody .= "<hr noshade size=\"1\" width=\"100%\" color=\"#000000\">";
//header tabla
$textbody .= "<center><table width=\"95%\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\" align=\"center\" style=\"$tablacompleta\">";
$textbody .= "<tr>";
$textbody .= "<td colspan=\"2\" width=\"100%\" height=\"20\" bgcolor=\"#425161\" nowrap><img src=\"".$nukeurl."/modules/".$module_name."/images/wl.png\" border=\"0\" align=\"absmiddle\"> <a href=\"".$nukeurl."/modules.php?name=Web_Links\" title=\"Ultimos Enlaces\"><font style=\"".$fuentesheaders."\">".$mbdn_links." "._NBMLINK."</font></a></td>";
$textbody .= "</tr>";
//titulos
$textbody .= "<tr bgcolor=\"#54667A\">";
$textbody .= "<td width=\"170\" nowrap> <font style=\"".$fuentestitulos."\">"._NBMELTITLE."</font></td>";
$textbody .= "<td align=\"center\" nowrap> <font style=\"".$fuentestitulos."\">"._NBMDESCRIPT."</font> </td>";
//$textbody .= "<td align=\"center\" nowrap> <font style=\"".$fuentestitulos."\">"._NBMLINKVISITAS."</font> </td>";
$textbody .= "</tr>";
$querywl = "select lid, cid, sid, title, description, date, hits from ".$prefix."_links_links ORDER BY lid desc limit 0, $mbdn_links";
$result4 = $db->sql_query($querywl);
$numwl = $db->sql_numrows($result4);
for($i = 0; $i < $numwl; $i++){
list($lid, $cid, $sid, $title, $description, $time, $hits)=$db->sql_fetchrow($result4);
$e=$i+1;
//enlaces
$textbody .= "<tr bgcolor='#F3F3F3'>";
$textbody .= "<td width=\"170\" nowrap> <font style=\"".$fuentesenlaces."\">".$e." - </font><a href=\"".$nukeurl."/modules.php?name=Web_Links&l_op=viewlinkdetails&lid=".$lid."&ttitle=".$title."\" title=\"".$description."\"><font style=\"".$fuentesenlaces."\">".$title."</font></a></td>";
$textbody .= "<td align=\"center\" nowrap> <font style=\"".$fuentesenlaces."\">".$description."</font> </td>";
//$textbody .= "<td align=\"center\" nowrap> <font style=\"".$fuentesenlaces."\">".$hits."</font> </td>";
$textbody .= "</tr>";
}
$textbody .= "</table></center>";
$textbody .= "<br>";
Como podria hacer eso?
Saludos