$crud->field_type('designation','dropdown',
array('1' => 'PHP Developer', '2' => 'Android Developer','3' => 'Web Designer');
I want to show the selected desigation from the table in the dropdown.
i.e
if($value == 'PHP Developer')
then 'selected="selected"';
in the drop down.
Also if i dont select any designation from the drop down , then the designation value is automatically set to null or empty.
Thanks