Error in query: SELECT id FROM atl_destinacije WHERE drzava= AND naziv='Asprovalta-Vrasna-Stavros'. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND naziv='Asprovalta-Vrasna-Stavros'' at line 1