How about creating a form template from an existing table?
I have already setup several tables and now I would like to create the
data entry forms to match them.
Online, I found several classes that will do this (
phpclasses.org) and
hopefully it should relatively easy to adapt them to your system.