Welcome Guest, Not a member yet? Register   Sign In
Preselection not working for dropdown

I have a dropdown and here is the code
echo form_dropdown('selectcategory', $category_array, $selected_category);

$selected_category is outputting the variable I want, the html looks like it should, but the page always loads with the first item selected.

Here is the html

Theme © iAndrew 2016 - Forum software by © MyBB