Hmm, works fine here. Ok, here goes...
Two drop downs on page.
Both drops are populated from database.
These drops would have the same values, but display different
names. So the user could select either by the ID number (first drop) or the Name (second drop).
Each time an item was selected, it would be added to the textbox below the drops, creating a string of ID's that would be passed to the query to create a mailing list using the below query.
SELECT DISTINCT firstname, lastname, street1, street2, city, state, zipcode, zip4, country, countrycode, MAX(quantity) FROM moms_customer, moms_lists WHERE moms_customer.custnumber = moms_lists.custnumber AND pubid = (string of ID's from textbox) GROUP BY lastname
What I don't know how to do is get the multiple selections to go into that textbox, and then pass it to the next page containing the above query and use it for output. HELP!!