saludos...
he tratado de meter el if, y no me va, alguien mas experimentado que me ayude donde lo coloco para q funcione
aca el codigo>
Código:
<?php
include("conec.php");
$link=Conectarse();
$result=mysql_query("select * from noticias",$link);
?>
<div align="center">
<TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1>
<TR><TD><strong>NOTICIAS</strong></TD>
<?php
while($row = mysql_fetch_array($result)) {
?><TR><TD><?
echo "<img src=".$row['imagen']." height=120 width=120 border=1>";
printf($row["contenido"]);
}
?> %s</TD><?
mysql_free_result($result);
mysql_close($link);
?>
</table>
</div>
</body>
</html>
lo de arriba se ve asi>
nos vemos