Re: Is displaying image in php tough?

From: Date: Thu, 11 Oct 2007 23:07:58 +0000
Subject: Re: Is displaying image in php tough?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-44189@lists.php.net to get a copy of this message
I'm assuming that you have the image uploaded into a directory on the server. All you need to do is have the html tags: print "<img src='folderofsource/" . $image . "'>" ----- Original Message ----- From: "Chris Carter" <chandan9sharma@yahoo.com> To: <php-db@lists.php.net> Sent: Thursday, October 11, 2007 10:16 AM Subject: [PHP-DB] Is displaying image in php tough?
I am trying to fetch the image from the database image field. Fetching it from $image=mysql_result($result,$i,"image"); And displaying it with: ../stores-images/ I know it requires some if else or array to display. This is new for me. Please help! Chris -- View this message in context: http://www.nabble.com/Is-displaying-image-in-php-tough--tf4607902.html#a13158056 Sent from the Php - Database mailing list archive at Nabble.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.db (#44189) next »