![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/10/2009, 08:13
|
![Avatar de JOSANCIN](http://static.forosdelweb.com/customavatars/avatar258910_3.gif) | | | Fecha de Ingreso: septiembre-2008 Ubicación: huesca
Mensajes: 298
Antigüedad: 16 años, 5 meses Puntos: 0 | |
Respuesta: no me deja leer una imagen de una tabla e insertarla en otra Muchas gracias a los tres, lo que me ha funcionado es
sustituir addslashes por mysql_real_escape_string ambas veces
en vez de hacer $foto_reconvertida=addslashes($foto_reconvertida);
hago $foto_reconvertida=mysql_real_escape_string($foto_ reconvertida)
despues igual, cuando estoy leyendo la imagen de la tabla provisional y asigno el valor de la lectura en la variable $a ($a=$fila['imagen'] aplico mysql_real_escape_string haciendo
$a=mysql_real_escape_string ($a)
y funciona bien bien bien
QUE CONTENTO ESTOY, YUPIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
MUCHAS GRACIAS A TODOS, ME TOMO LA TARDE DE FIESTA PARA CELEBRARLO
BIEN BIEN BIEN |