Please drop me an email if you have any problems at all. My email is "roger e 84 at gmail (dot) com
This single file script will easily produce the HTML code you need to create forms using PHP.
You can see a demo HERE
HTML Code Generator FORM Code Generator Code Generator Form Generator PHP HTML Form Generator