Re: cant view image from database

From: Date: Thu, 12 Feb 2015 23:39:16 +0000
Subject: Re: cant view image from database
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-324450@lists.php.net to get a copy of this message
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/

« previous php.general (#324450) next »