![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/02/2008, 14:16
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 15
Antigüedad: 17 años, 2 meses Puntos: 0 | |
Re: problema con pagina de enlaces perdon... era un error infantil.
<table width="100%" border="0" align="center">
<tr>
<td class="titulo"><div align="center">Enlaces</div></td>
</tr>
</table>
<table width="500" border="0" align="center">
<br />
<?php
//abrimos la base de datos
$link = mysql_connect("localhost","root","");
mysql_select_db("datox",$link);
//Consultamos el orden para seguirlo
$result = mysql_query("select * from enlaces",$link);
while ($row=mysql_fetch_array($result))
{
?>
<tr>
<td class="contenido"><?php echo $row['nombre'];?>
<a href =<?php $row['enlace'];?></a>
</td>
<br />
</tr>
<?php
}
?>
</table> |