Andy B wrote:

hi...

is it totally usefull/reasonable to write a class in php that prints
different different form elements in html...

i.e. inputs, buttons, drop downs, multi selects and son? that way (at least
i think) then it would be easier to change the element attributes
dynamically...

Sure it is! But you may want to check out HTML_QuickForm from PEAR. It already does so much and there's lots of supporting classes there like DB_Databject_FormBuilder and HTML_QuickForm_Controller.


http://pear.php.net/package/HTML_QuickForm

--
paperCrane <Justin Patrin>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to