This means that the array that you are talking about is one that you create youself.
It contains the range of possible values for a given drop down menu.
Now, my guess is that you have stored these possible values in your database, hence you are trying to retrieve them to test with the incoming value.
The solution therefore, would be to select the column containing these possible values, and then loop through the result set using mysql_fetch_array().
On each iteration, the value of the current field would be added as an element in an array.
After that, you can use in_array() on this array with the user's incoming value to test.
There may be an easier method still.
Attempt to retrieve the row in the table where the field's value corresponds to the user's incoming value.
If no rows are returned, then the value does not exist, and so is invalid.