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 i.group_id = g.id
AND c.id = g.id AND r.id = c.region_id
AND g.compa' at line 3 SQL=SELECT i.`id`, i.`name`, g.company_id AS cid, r.alias AS region_alias
FROM cat_bc_items AS i, cat_bc_groups AS g, cat_bc_companies AS c, cat_bc_regions AS r
WHERE i.`published` = 1 AND i.`id` <> AND i.group_id = g.id
AND c.id = g.id AND r.id = c.region_id
AND g.company_id <> AND i.catid = GROUP BY g.company_id LIMIT 10You 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 i.group_id = g.id
AND c.id = g.id AND r.id = c.region_id
AND g.compa' at line 3 SQL=SELECT i.`id`, i.`name`, g.company_id AS cid, r.alias AS region_alias
FROM cat_bc_items AS i, cat_bc_groups AS g, cat_bc_companies AS c, cat_bc_regions AS r
WHERE i.`published` = 1 AND i.`id` <> AND i.group_id = g.id
AND c.id = g.id AND r.id = c.region_id
AND g.company_id = AND i.group_id = LIMIT 10
Цена: 0 /
Добавлен:
Изменен:
Категория каталога |
|