I'm fetching values from a single column with multiple rows using mysql_fetch_array and want to remove duplicate values before using those values to build a pulldown menu.
How is this done?
The rows in my table contain the names of countries with many duplicate values. I want to be able to search against the table using a pulldown select menu, the options of which are populated only by unique values.
I'm guessing array_unique holds the key but I can't get it to work in this context.
TIA
js
How is this done?
The rows in my table contain the names of countries with many duplicate values. I want to be able to search against the table using a pulldown select menu, the options of which are populated only by unique values.
I'm guessing array_unique holds the key but I can't get it to work in this context.
TIA
js