I have a form that outputs data to this:
index.php?city=ADDIEVILLE&city=ALBERS&city=ALHAMBRA
Then need to go into a mysql where statement like so:
WHERE CITY = ADDIEVILLE OR CITY = ALBERS OR CITY = ALHAMBRA
How would I be able to pass those multiple cities along to the mySQL query using PHP?
name='city'instead, you should define them all with the same name as an arrayname='city[]'Then$_GET['city']will itself be an array.