I have a website with about 100 different subjects.
each subject has a form with different fields for the user to fill.
The information filled is being sent to a specific mail and only fields that exists in every subject, like 'name, age, email' are being stored in the database.
Now i want to store the other fields in the database as well.
I can just create a new column in the database for each of those fields but it's a bad solution because i'll have to change the code and add a db column manually for any new field.
What else can i do if i want to add an option in the administration panel
for adding new fields and having it stored in the database when the
form is submitted for statistics etc..
thanks in advance and sorry for my English.







Bookmarks