Jump to content

Multiple images


nvee

Recommended Posts

Hey Guys

 

This is not as much "help me with my code" but rather "help me wrap my head around this" ...

 

I am faced with a project where the user can add as many photos as he wishes to a profile (almost like a gallery) and I find it difficult to understand the database implications for this.

 

I understand that there will be a table in the database with the images (or image id's) and then the user account will have a field called "image_ids" or something in that line, but how do I add multiple id's to it? I mean, I was under the impression that I can only add 1 content chunk to a field? I know the alternative is to have e.g. 5 image fields, but in this case the clients can have as many as they want.

 

Probably not that much a challenge as my being just to dumb to figure it out :)

Link to comment
https://forums.phpfreaks.com/topic/180113-multiple-images/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.