[eluser]Unknown[/eluser]
Hi all,
I am experiencing a strange issue with form_dropdown.
// in the controller
$data["option"]=array(
""=>"Choose your option",
"0"=>"0%",
"10"=>"10%",
"20"=>"20%"
);
$selected=0;
//in view
form_dropdown("percent", $option, $selected);
When I put 0 as the selected item, it always shows "Choose your option", when I choose 10 or 20, it is showing correctly. Only when I choose 0 this issue appears...
Anyone can help?