I have been trying to get the following code to work but for some reason it keeps throwing an error. Any assistance is appreciated.
mysql_query("IF NOT EXIST (SELECT * FROM station WHERE name='$name' AND address='$address' AND city='$city') THEN
INSERT INTO station (name, address, city, state...