Upload and Display images with Mysql
| From: | Kpromos | Date: | Mon, 24 May 2004 19:58:48 +0000 |
| Subject: | Upload and Display images with Mysql | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34550@lists.php.net to get a copy of this message | ||
Dears All,
I'm looking for a simple script that will permitme to upload images in a mysql database,
calling out the images with a function from a mysql database (calling them from an id variable). I
have just tried this tutorial http://www.phpbuilder.com/columns/florian19991014.php3
but it seems to me that there's nothing to do, as images aren't displayed even if all
seems to function correctly. The doubt is that images are stored as bynary files System.Byte[], so
it may be that I can use the simple <img src="view.php?id=$id">.
I'm testing all in my Windows PC. Anybody can help me?
Thanks for all,
Alessandro Folghera (Italy)