Ошибка в запросе "SELECT i.id, i.brandid, i.advid, i.cat, i.src, i.w, i.h, i.type, i.name, i.url, i.price, i.descr, br.name, ad.name FROM items i LEFT JOIN brands br ON br.id=i.brandid LEFT JOIN advs ad ON ad.id=i.advid /*LEFT JOIN item it ON it.name=i.name OR it.name='i.name' */ WHERE cat = '0' LIMIT -15, 15":
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 '-15, 15' at line 6