ballhogjoni Posted October 8, 2008 Share Posted October 8, 2008 I am working on a site that has a php array that dynamically creates a html form. I was wondering if anyone has heard of doing this and if they know what I can do to add some radio iputs? var $col = array( 'id' => array( 'type' => 'int', 'size' => 11, 'qf_type' => 'hidden' ), 'sfs_id' => array( 'type' => 'int', 'size' => 11, 'qf_type' => 'hidden' ), 'vip_special' => array( 'type' => 'boolean', 'qf_label' => 'Show as VIP Special' ), 'dont_show_on_main_list' => array( 'type' => 'boolean', 'qf_label' => 'Dont Display On Main List' ), Link to comment https://forums.phpfreaks.com/topic/127590-this-array-creates-a-form/ Share on other sites More sharing options...
ballhogjoni Posted October 8, 2008 Author Share Posted October 8, 2008 i just did a google search and found a good tutorial: http://pear.code-authors.com/package.database.db-table.intro-forms.html Link to comment https://forums.phpfreaks.com/topic/127590-this-array-creates-a-form/#findComment-660151 Share on other sites More sharing options...
ballhogjoni Posted October 8, 2008 Author Share Posted October 8, 2008 I have search this site, does anyone know how to make db_table format radio buttons? this is what it says to do, but is not working: 'main_featured' => array( 'qf_type' => 'radio', 'qf_label' => 'Gold Featured <font size="1">(gold background)</font>' ), Link to comment https://forums.phpfreaks.com/topic/127590-this-array-creates-a-form/#findComment-660177 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.