I'm almost finished making a script that will allow an apartment broker to track apartment listings, landlord, and clients. I need to be able to add/delete/view multiple images for each apartment listing, but I need some advice for choosing a direction to go:
Add several more columns to the existing LISTINGS database, ie image1,image2,image3 (I don't like this idea because it will limit how many pictures a listing can have.)
Add just one column to the LISTINGS database and store image urls separated by commas, then explode the string to extract the urls. (This would probably make deleting harder.)
Create a seperate images database, and have a LISTINGSID column in that database.
====
Sorry if I'm not expressing my question clearly enough. Please let me know if you need further explanation.
Thanks!
Jorge