Por favor, me pueden decir que me falla en este codigo??:
-------------------------------------------------------------------
<H1>leer registros de una BBDD</H1>
<?php
include("conectar.php");
$link=Conectarse();
$result=mysql_query("select * from prendas",$link);
?>
<TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1>
<TR><TD width="120"> Imagen</TD><TD width="124"> Producto </TD><TD width="129"> Referencia </TD></TR>
<?php
while($row = mysql_fetch_array($result)) {
printf("<tr><td> %s</td><td> %s </td></tr>", $row["imagen"],$row["producto"],$row["referencia"]);
}
mysql_free_result($result);
mysql_close($link);
?>
</table>
---------------------------------------------------------------------------
Garacias por adelantado
