03/02/2008, 14:14
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 15
Antigüedad: 17 años, 2 meses Puntos: 0 | |
Re: problema con pagina de enlaces Muchas gracias por la respuesta. Creo que he corregido lo que me has dicho... pero sigue sin funcionar... Ahora el código está así:
<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>
}
?>
</table> |