I don't know how to tackle this problem!

I am currently working on a project. Simply put it’s a mix between ebay and gumtree. I want users to be able to post listings of different categories, and each category will need different data stored about each listing.

How do I go about structuring this? I am currently using a main listings table in the database and further separate tables (that are linked by foreign ID) to the main table to contain the other fields.

When a user wants to create a listing however, I initially have a dropdown so a category can be chosen, but after that it all becomes a nightmare, since the add listing form will be different for each category, do I just a separate form for each and a separate PHP form handler or is there a more integrated and efficient way to go about it?

I’m closing this since you’ve already asked it in the database forum, which is the more appropriate place. Having the thread in one place helps to prevent you getting conflicting answers…

THREAD CLOSED