Error: 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 'result[i].link[0] ''' at line 1
Error No: 1064
SELECT * FROM url_alias WHERE `query` = 'route=' result[i].link[0] ''