Jump to content

Table to Form


Xdega

Recommended Posts

So I was thinking about an idea for an application/object that could simply use a table to automatically build a web form for input to that table.

Simply using the column headers for the question fields, and then match up the data type with a certain web form element. For example if there is a field in the table called ID that is auto incrementing, the form would ignore that element. Or if there is a field called number that is int/tinyint/ect, the form builds a question that only allows a numeric input. (Is it even possible to pull this information from the SQL table?)

I'm not sure if this is beyond the scope of OO PHP, or whether it is even a practical idea. What do you guys think?

 

ps: and yeah. I'm terrible at explaining things.

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/230854-table-to-form/
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.