Kindly pardon me if i looks silly as i am new in PHP and learning stuffs from SO .
I will try to explain clearly as possible what i am into
Currently i have a profile page for different level of users like
Admin, Level1, Level2, Level3
Fields are not same for all the 4 profile pages .
For level 1 i will display Name,Age,Picture
and
For Level 2 i will display Name,Picture,Location,Country
and
some other for Level3
The above i have done and it's working without any issues .
Now what i need was to make the admin to select the form fields dynamically . Like , there should be a setting kind of page in admin where i will list all the needed fields for different level of users under the level name with a check box near it(which i done).
Now the confusion was the admin can check what fields needed and that will reflect in that profile page of that user , Which i am confused on how to proceed as i cant get any idea on how to proceed . Also he should be able to add extra field (text box only allowed) like he will click add and enter the label name . this newly added text box should be functional like storing the value in db and retrieving.
Hope i explained clearly . if you are not clear with any stuffs kindly pardon me and make a comment i will explain further on that .
I needed help on getting a idea or structure on how to proceed for my requirement.
adding the field by himself?input_tb.