Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-5.0.45-community-nt]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 'LIMIT 1 aID, aHits, aTable, aTitle FROM advertising WHERE aValid=1 AND ((aRoleB' at line 1 database-inc.asp, line 273
Looks like a problem with the SQL string you're creating, but as HuwR said - this site is for MySQL questions related to Snitz and their MODs. Unless this is a MOD (posted or personal), you may want to try somewhere like http://stackoverflow.com/ or another Q&A site.