Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/02/2007, 22:51
Avatar de a83
a83
 
Fecha de Ingreso: noviembre-2005
Ubicación: Santiago de chile
Mensajes: 637
Antigüedad: 18 años, 5 meses
Puntos: 1
tengo problemas con este select

no me muestra los datos pero no me marca ningun error si me pueden ecar na mano agradeciso

Código PHP:
<html> 
<body> 
<?php 
$link 
mysql_connect("localhost""root"); 
mysql_select_db("admin_rym"$link); 
$result mysql_query("select * from usuarios nombre"$link); 
if (
mysql_num_rows($result)){ 
  echo 
"<table border = '1'> \n"
  echo 
"<tr><td>id</td><td>nombre</td><td>apellidos</td><td>direccion</td><td>email</td><td>Telefonos</td></tr> \n"
  while (
$row = @mysql_fetch_array($result)) { 
    echo 
      
"</td><td>".$row["nombre"].
      
"</td><td>".$row["apellidos"].
      
"</td><td>".$row["direccion"].
      
"</td><td>".$row["email"].
       
"</td><td>".$row["telefono"]. "</td></tr> \n";
      
      
     
       
  }
  echo 
"</table> \n"
}
else
  echo 
"¡ No se ha encontrado ningún registro !";
?> 
</body> 
</html>