Dropdown
Permalink 1 user found helpful
I want a drop down with values from 0 to 24 ,and gave a place holder for the drop down as minutes!
Now I can select 0 and save it,but when I edit the drop down the value which is selected (that is 0) has been selected to the place holder value(minutes)
I placed my drop down values in an 2-D array in PHP ,with index and value same ..such as array([0]=>0,[1]=>1)..
Why is 0 not selected in the drop down list
Now I can select 0 and save it,but when I edit the drop down the value which is selected (that is 0) has been selected to the place holder value(minutes)
I placed my drop down values in an 2-D array in PHP ,with index and value same ..such as array([0]=>0,[1]=>1)..
Why is 0 not selected in the drop down list