This topic is locked

multiple images upload

12/6/2005 12:34:36 PM
PHPRunner General questions
S
seb author

Hello,

Can someone tell me if I can easily tweak the file upload script so that it allows users to upload multiple jpegs for each database entry. (if the general structure for each entry is for example, title,description,pictures)?
To reformulate the question, do I have to get into nested tables with master-detail relations (one storing pictures and linked by id to master table) OR CAN I tweak the upload module easily to have a <add more pics> button for each entry?
thank you

seb

Admin 12/7/2005

seb,
you can not upload multiple files into one database field.

You should either use multiple fileds for this or set up master detail replationship and store images in detail table.