Re: cant view image from database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/12/2015 02:38 PM, hadi wrote:
>> Why are you outputting loads of HTML with the image in your
>> showimage1.php script? That's what's making the image invalid.
> 
> Hi Ash,
> 
> I removed html loads, but still not working.

Are you trying to display the image data that you originally inserted using
the addslashes() function?  If so, I would make sure you start completely over
from scratch.

Insert a new image using the corrected method.
export and display that new image data.

See if that works.


-- 
Jim Lucas

http://www.cmsws.com/
http://www.cmsws.com/examples/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux