is selected
if (($numOpts<2)&&($matches == $elements[0])){
echo "".$elements[1];
}elseif(($numOpts>1)&&(in_array($elements[0],$matches))){
echo "".$elements[1];
}else{
echo "".$elements[1];
}
}//end for
echo "";
}//end fu
I can use some help here. I have page where a user can make updates to
a DB record. The user can then select items from a drop down list.
I'm trying to get my drop down list to pull from the MySQL and have the
value that is stored in MySQL be the one selected in the option
selected tag .