Jump to content

Dynamic forms - DB table or file?


V

Recommended Posts

Please help me with some guidance. I want to allow users to create their own html forms by choosing different form elements (textfields, textareas, lists, ratios, etc) I guess something similar to http://wufoo.com/ but much more basic. I'm having some trouble deciding which approach I should take. Database tables or files?

 

For tables I was thinking to create a table for each form element, e.g

 

TEXTFIELD TABLE

ID

TEXTFIELD_NAME

USER

 

TEXTAREA TABLE

ID

TEXTAREA_NAME

USER

 

etc for all form elements

 

and then just query all of them with..

 

WHERE user=$user

 

Or should I generate php files on the server for each form created?

Link to comment
https://forums.phpfreaks.com/topic/211649-dynamic-forms-db-table-or-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.