> generate forms but I still have to create each input..i.e > $forms->inputBox(), etc. I want to be able to pass in a table name and have > a form returned to me. How do other's handle this? My first thought is to > have an xml file that maps the database columns to form elements such as > text, radio, etc then when the class is called, it searches the xml file for > the passed in name and builds the appropriate form. Is this the best way?
I believe there is a PEAR library package that does this. You might want to do some research to see if it fits your needs. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php