could you explain what exactly is going on in your while loop (sorry, i'm not too too advanced with php syntax)? specifically the '?' , ':', and '.' put in odd places- what does that do?
are you dynamically building the select statement from a query? i don't want to put the whole query row into a drop down. just one column in the database (let's call it the fruit column), has about 8 choices only (but we'll use 3 in this example). the other columns have nothing to do with fruit. that value is put into a variable say $myfruit, which is a string (lets say $myfruit = "orange" on this particular query of the DB). i just want whatever $myfruit is to be automatically selected in a drop down menu that consists only of "apple", "orange", and "banana"
Thanks again guys!!