![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
01/01/2004, 16:23
|
![Avatar de pereztroff](http://static.forosdelweb.com/customavatars/avatar14195_1.gif) | | | Fecha de Ingreso: junio-2002 Ubicación: En la Internet.
Mensajes: 4.068
Antigüedad: 22 años, 8 meses Puntos: 5 | |
funcionara así?:
<?php $con = mysql_connect("localhost", "xxx", "xxxxxxx")or die("Connect Error: ".mysql_error());
$db="xxxxxxxxxxxx";
mysql_select_db($db, $con)or die("Connect Error: ".mysql_error());
$result = mysql_db_query($db,"select * from minas");
while ($row = mysql_fetch_array($result)) { ?>
poblacion: <?php echo $row['poblacion']; ?>
descripcion: <?php echo $row['descripcion']; ?>
nombre: <?php echo $row['nombre']; ?><br><br>
<?php
}
mysql_free_result($result);
mysql_close($con);
?> |