I use a function to create select boxes:
function make_select($fieldname,$options,$selected,$opt="") {
# make a select box with option text $opt
# $fieldname = name of html field
# $options = associative array of select options
# $selected = field key of selected ite
Jacques wrote:
I am using PHP. I have a registration page where the user has to select his
country form a drop down list. If the username that the user selected for
himself exists in the database I am sending him back to the registration
form with all the fields completed with the values he prev
I am using PHP. I have a registration page where the user has to select his
country form a drop down list. If the username that the user selected for
himself exists in the database I am sending him back to the registration
form with all the fields completed with the values he previously entered.
3 matches
Mail list logo