12-10-2007, 05:36 AM
|
#12 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Posts: 360
Thanks: 24
|
Quote:
Originally Posted by /\/\ongoose
Ah I got it, in after the * if you limit the type of files for it to pick up it wont show the extra files :)
I dont think this method will work though, I think a database will be the best idea. But I'm not sure having a database will make easy for updating it with a new picture. Any ideas?
|
Yes, it'll be easier.
You can use INSERT query on the form submission to add an image to the database then you can use SELECT query to output the images as required.
It would just need one table.
Table - images- id
- int
- Auto increment
- Primary
- image
- title
- manufacturer
- model
- productManufacturer
- product
|
|
|
|