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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.