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 '-10, 10' at line 18
SELECT
`w_c`.`id`,
`w_c`.`header`,
`w_c`.`prebody`,
`w_c`.`activate`
FROM
`w_c_catalog_to_categories` `c_2_c`
INNER JOIN
`w_c` `w_c`
ON
`w_c`.`id` = `c_2_c`.`c_id`
WHERE
`c_2_c`.`cat_id` = 4
ORDER BY
`w_c`.`id`
DESC
LIMIT
-10, 10
Warning: Invalid argument supplied for foreach() in /home/zhengazeta/www/zhengazeta.by/_modules/women_catalog/class.php on line 89
Warning: array_slice() expects parameter 1 to be array, string given in /home/zhengazeta/www/zhengazeta.by/_modules/women_catalog/class.php on line 195
Warning: array_slice() expects parameter 1 to be array, string given in /home/zhengazeta/www/zhengazeta.by/_modules/women_catalog/class.php on line 195
Warning: array_slice() expects parameter 1 to be array, string given in /home/zhengazeta/www/zhengazeta.by/_modules/women_catalog/class.php on line 195
Warning: array_slice() expects parameter 1 to be array, string given in /home/zhengazeta/www/zhengazeta.by/_modules/women_catalog/class.php on line 195
Warning: array_slice() expects parameter 1 to be array, string given in /home/zhengazeta/www/zhengazeta.by/_modules/women_catalog/class.php on line 195
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/zhengazeta/www/zhengazeta.by/_modules/women_catalog/class.php on line 198