 
			
				20/11/2002, 09:44
			
			
			     |  
      |    |    |    Fecha de Ingreso: noviembre-2002  
						Mensajes: 35
					  Antigüedad: 23 años Puntos: 0     |        |  
        Base de datos Warning...        Hola, hace un tiempo pregunté esto pero no está la respuesta, cuando hago la conexión a una base.. me arroja un Warning, quiero saber el equivalente que no da el warning..   
Gracias   
mysql_connect("localhost","jalvarez","");   
//Ejecutamos la sentencia SQL 
$result=mysql_db_query("test","select * from tu_tabla"); 
?> 
<table align="center"> 
<tr> 
<th>Nombre</th> 
<th>Teléfono</th> 
</tr> 
<? 
//Mostramos los registros 
while ($row=mysql_fetch_array($result)) 
{ 
echo '<tr><td>'.$row["campo1"].'</td>'; 
echo '<td>'.$row["campo2"].'</td></tr>'; 
} 
mysql_free_result($result);     
				__________________  JF           |