![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
16/09/2008, 12:22
|
| | Fecha de Ingreso: mayo-2008
Mensajes: 47
Antigüedad: 16 años, 8 meses Puntos: 0 | |
Extaer imagen de la BD problema En la tabla inserto solo imagenes jpg y bmp.
La tabla foto tiene los campos: id_foto, cedula_abogados, fecha, foto_digital. No se si el problema será en el header( "Content-type: image/jpeg"); pienso que no encuentra el tipo.
$query_fotos=mysql_query("select * from foto where cedula_abogados='".$row['cedula_abogados']."' ");
$row_fotos=mysql_fetch_array($query_fotos);
if($row_fotos>0)
{
header( "Content-type: image/jpeg");
echo $row_fotos["foto_digital"];
}
else
echo "Sin Foto";
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\sistema_abogados\datos_generales.php:7 ) in C:\wamp\www\sistema_abogados\datos_generales.php on line 144
ÿØÿà�JFIF��`�`��ÿÛ�C� $.' ",#(7),01444'9=82<.342ÿÛ�C 2!! |