PHP Select drop down box
Hello, I have created a drop down box and when I submit it i want the selected item to remain selected in the drop down box instead of going back to the first option in the drop down box. below is my...
View ArticleRe: PHP Select drop down box
I just realized in my post i forgot to close my array and put the end line in. its there in my original code and the drop down works. It just always goes back to the first option once selected instead...
View ArticleRe: PHP Select drop down box
You have to explicitly add selected="selected" to the <option> that you want to select, depending on the submitted value (in $_POST). This goes for check boxes and radio buttons too...
View Article
More Pages to Explore .....