Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/06/2006, 16:33
ninbox
 
Fecha de Ingreso: junio-2006
Mensajes: 4
Antigüedad: 17 años, 10 meses
Puntos: 0
<?php
include "includes/bd.php";
$consulta = 'SELECT * FROM hosts ORDER BY orden';
$resultado = @mysql_query($consulta) or die('consulta no valida: '.mysql_error());

echo '<table width="75%" border="0" cellspacing="0">';
while($rs = mysql_fetch_array($resultado)) {
echo '<tr><td>'.$rs['orden'].' '.$rs['host'].'</td><td><a href="gestion_mod.php?id='.$rs['id'].'">[Modificar]</a></td></tr>';
}
echo '< /table>';
mysql_free_result($resultado);
?>