![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/04/2004, 07:39
|
| | Fecha de Ingreso: agosto-2003
Mensajes: 398
Antigüedad: 21 años, 5 meses Puntos: 0 | |
Hola exactamente esta es la parte que necesito paginar:
echo "<br>";
$result = $db->sql_query("SELECT id, nombre, imagen FROM ".$prefix."_docs_cat WHERE cid = $catid ORDER BY nombre");
if ($db->sql_numrows($result) > 0) {
OpenTable();
echo "<center><b>"._SUBCATSS." $catnombre</b><br></center><br>";
echo "<table border=\"0\" width=\"100%\" align=\"center\" cellpadding=\"2\">";
$count = 0;
while(list($id, $nombre, $imagen) = $db->sql_fetchrow($result)) {
echo "<td align=\"center\">"
."<a href=\"modules.php?name=Documentos&cid=$id\"><img src=\"images/documentos/$imagen\" border=\"0\" alt=\"$nombre\"></a><br>"
."<strong><big></big></strong> <a href=\"modules.php?name=Documentos&cid=$id\">$nomb re</a>";
$count++;
if ($count == 5) {
echo "</tr><tr>";
$count = 0;
}
Muchas gracias por ayudarme.
Saludos |