Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/07/2005, 16:05
byzard
 
Fecha de Ingreso: agosto-2003
Ubicación: santiago, chile
Mensajes: 303
Antigüedad: 20 años, 8 meses
Puntos: 0
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"]);


}
?>&nbsp;%s</TD><?
mysql_free_result($result);
	mysql_close($link);
?>
  
    </table>
</div>
</body>
</html>
lo de arriba se ve asi>


nos vemos