In this tutorial i am going to teach you how to set options value in dropdown  box basically it is easy with html syntax to select any option but if we have to use codeigniter syntax for any input then it is little complex, for this see the following code that i found in my codeigniter project while fixing this issue.