Ver Mensaje Individual
  #8 (permalink)  
Antiguo 31/03/2009, 14:09
Avatar de hoberwilly
hoberwilly
 
Fecha de Ingreso: julio-2008
Ubicación: Lima - Perú
Mensajes: 769
Antigüedad: 15 años, 10 meses
Puntos: 2
Respuesta: Tengo un array...para insertar en bd

Ah oka,
el insert (INSERT INTO catalogo(foto,foto1,foto2,mime) VALUES('$contenido[0]','$contenido[1]','$contenido[2]','$tipo')) en phpMyAdmin imprime:
Filas insertadas: 1
Se insertó la ID de la fila: 210 (La consulta tardó 0.3517 seg)

y en DB se observa:
campo:
id ....00210 //id autoincrement
foto ....[BLOB - 13 Bytes]
foto1 ....[BLOB - 13 Bytes]
foto2 ....[BLOB - 13 Bytes]
mime ....$tipo