Ver Mensaje Individual
  #8 (permalink)  
Antiguo 20/05/2006, 15:22
Vhyll
 
Fecha de Ingreso: octubre-2004
Ubicación: Lima, Perú
Mensajes: 185
Antigüedad: 19 años, 5 meses
Puntos: 1
Te olvidaste una comilla
Código PHP:
$foto[$n]="<img src=\"fotos/noticies/".$nomfoto[$n]."' width='120' border='0' onClick=\"MM_openBrWindow(this.src,'foto','height=700 width=800')\">"
y para insertar en la bse de datos te recomiendo que uses de esta forma
Código PHP:
mysql_query ("INSERT INTO noticias (foto) VALUES ('".addslashes($_POST['foto'])."')"

Última edición por Vhyll; 20/05/2006 a las 15:27