Ver Mensaje Individual
  #4 (permalink)  
Antiguo 20/06/2003, 14:35
Avatar de asinox
asinox
 
Fecha de Ingreso: enero-2002
Ubicación: Santo Domingo
Mensajes: 2.712
Antigüedad: 22 años, 3 meses
Puntos: 6
bueno esta bien este codigo?:

<?php
include('Connections/oConnPep.php');
$rs= "Select * from products Order by Id";
$result=mysql_select_db("$rs");
echo 'conectado a la base de datos';
?>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="143">Id</td>
<td width="216">Nombre</td>
<td width="152">Descripcion</td>
<td width="259">Activo</td>
</tr>
<?php
while($row=mysql_fetch_array($result));
{
echo '<tr><td>'.$row["id"].'</td>';
echo '<td>'.$row["nombre"].'</td>';
echo '<td>'.$row["descripcion"].'</td>';
echo '<td>'.$row["activo"].'</td></tr>';
}
mysql_free_result($result)?>
</table>

Saludos
__________________
www.dataautos.com