I have a page on my site that allows users to create a custom form, e.g. they can edit the name of the input field so that it can hold any value that they name it with.
By doing so they create a new table in the database with the name of the input field as the name of the column
By doing so I am going to end up with a huge database, is there a different way of doing this?
I am sorry if my question sounds ridiculous but I am self-taught in MySql.
Well, you can create a table “page” that can contain Form id as field. Another table will be “form” table, that will have all attributes of form and its “id”(primary key) will be used as “foreign”key in “page” table.
In this way, you can save extra table creation as well as can identify each form uniquely.