Ver Mensaje Individual
  #4 (permalink)  
Antiguo 05/09/2003, 12:52
Jordi1
 
Fecha de Ingreso: abril-2003
Mensajes: 656
Antigüedad: 21 años
Puntos: 1
Bueno de momento lo que veo

[PHP]
$resul=mysql_query("select * from exist order by prod_exi",$Conexion);
$num=mysql_num_rows($resul);
if($num){
while($row=mysql_fetch_array($resul))

{
$i++;
$prod = $row["prod_exi"];
$dsc = $row["dsc_exi"];
$lote = $row["lote_exi"];
$tot = $row["tot_exi"];
$bod = $row["bod_exi"];
$tie = $row["tie_exi"];
$adr = $row["adr_exi"];
$mar = $row["mar_exi"];
$ang = $row["ang_exi"];
$vic = $row["vic_exi"];
$bod4 = $row["bod4_exi"];
$pro = $row["pro_exi"];
echo " <tr>"
." <td width=\"58\" align=\"left\" nowrap>$prod</td>"
." <td width=\"400\" align=\"left\" nowrap>$dsc</td>"
." <td width=\"45\" align=\"left\" nowrap>$lote</td>"
." <td width=\"25\" align=\"right\" nowrap>$tot</td>"
." <td width=\"25\" align=\"right\" nowrap>$bod</td>"
." <td width=\"25\" align=\"right\" nowrap>$tie</td>"
." <td width=\"25\" align=\"right\" nowrap>$adr</td>"
." <td width=\"25\" align=\"right\" nowrap>$mar</td>"
." <td width=\"25\" align=\"right\" nowrap>$ang</td>"
." <td width=\"25\" align=\"right\" nowrap>$vic</td>"
." <td width=\"25\" align=\"right\" nowrap>$bod</td>"
." <td width=\"25\" align=\"right\" nowrap>$pro</td><br>";
." </tr><br>";
}//llave we while

}//lave de if
echo " </table>"
." </center>"
."</body>"
."</div>";
?>

Prueba a ver si te va

un saludo