Storing image, or location, in MySQL
| From: | Shane McBride | Date: | Fri, 08 Sep 2000 17:29:09 +0000 |
| Subject: | Storing image, or location, in MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15915@lists.php.net to get a copy of this message | ||
I am working on a E-Commerce solution. This is what has me stumped this hour...
I want to store an image, or at least the filename of an image in table.
1. Is it better to store the image in the db, or just the filename (I think I know the answer - the
filename).
2. I have a function that will upload the file and put it where I want it, but I can't get it
write the filename into the db.
ANY help at all would be wonderful. Sorry for my ignorance...
TIA,
Shane