Vaupell
02-23-2009, 09:18 PM
Trying to formulate a yes/no radio botton in CP php
print_input_select_row("select yes or no", 'name', array(0=>'No', 1=>'Yes'));
trying with reference from
http://www.vbulletinprogramming.com/wiki/articles/print_input_select_row
--------------- Added 1235432477 at 1235432477 ---------------
solved using wrong function :p this one works.
print_radio_row('agree', 'inputname', array( 'yes' => 'Yes', 'no' => 'No' ));
print_input_select_row("select yes or no", 'name', array(0=>'No', 1=>'Yes'));
trying with reference from
http://www.vbulletinprogramming.com/wiki/articles/print_input_select_row
--------------- Added 1235432477 at 1235432477 ---------------
solved using wrong function :p this one works.
print_radio_row('agree', 'inputname', array( 'yes' => 'Yes', 'no' => 'No' ));