title: Newbie question : table to form generator in php
body: <p>I'm pretty sure there is a solution for this but I'm not sure about how to phrase it correctly.
  I have a form that needs to be saved in a database, pretty simple done in php and stored in a mysql table. But maintenance is pretty tedious, so I'm wondering if there is (or I should write my own) a solution to write the form's questions and possible values in a mysql table and write a php script to generate the form from the table. 
  What should I look for: a framework? a standard script/class?.... Or should I do it myself?</p>
  
  <p>Thanks a lot</p>
  
  <p>Edited to add the clarification in response to bobobobo's answer</p>
  
  <p>I store the questions in a separate table, my question is: how to generate the form from the questions table? </p>