Hola....Como es que lo tienes en dos codigos ?
Te paso un ejemplo ...
Código PHP:
<?
require("conectar.php");
if (empty($idnot)) {
$_pagi_sql="SELECT * FROM ka_noticias ORDER BY fecha_reg DESC";
} else {
$_pagi_sql="SELECT * FROM ka_noticias WHERE ID='$idnot' ORDER BY fecha_reg DESC";
}
$_pagi_cuantos = 3;
include ("paginator.inc.php");
while ($desc = mysql_fetch_array($_pagi_result)) {
$nueva_img = image_gd($desc[imagen],$upload_dir1);
$list = getimagesize($nueva_img);
$texto_largo = revisar_tildes($desc[detalle]);
$texto_largo = nl2br($texto_largo);
echo "<table class='box' align='center' width='100%' border='0' cellspacing='0' cellpadding='5'>";
echo "<tr>
<th align='left' colspan='2'><h2>$desc[titular]</h2><hr></th>
</tr>";
echo "<tr>
<td width='25%' rowspan='2'><img src='$nueva_img' align='middle'".$list[3]."alt=''></td>
<td width='75%' valign='top'>$texto_largo<br><br></td>
</tr>
<tr>
<td><a href='javascript:history.go(-1)'><font size='1px'><b>Regresar...</b></font></a></td>
</tr>";
echo "</table><br>";
}
echo "<table width='100%' border='0' cellspacing='0' cellpadding='5'>
<td width='60%' align='left' style='font-size:11px'>".$_pagi_info."</td>
<td width='40%' align='right' style='font-size:11px'>".$_pagi_navegacion."</td>
</table><br>";
mysql_free_result($_pagi_result);
?>
segun creo estás incluyendo un while dentro de otro....
Saludos
Frank