Xdega Posted March 16, 2011 Share Posted March 16, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/230854-table-to-form/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.