Working example of getting form from database and displaying it. Set the id you want to test in form_gen_test.php, then go to html/form_gen_test.html to see the output of the form