I may have mixed up my question. What I want to be able to do is compare a queried value from a database to the items of a drop down box. If the database value and drop down box item are the same, it gets marked as selected.
*Note: The drop down box values also come from the database.
I sorry to hijack this thread but i have some similar questions.
I have a php script that reads values from a db and insert them in html as select options. When i select one of these options and press submit i want to send a value to the spesific record in my database. Is this possible? Can i even select multiple as well?