Array
(
    [0] => Invalid query: 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 '-12,12' at line 1
)
SELECT * FROM products WHERE products_status='1' AND id_sub_categ='48'  LIMIT -12,12
Array
(
    [0] => Invalid query: 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 '-12,12' at line 1
)
SELECT count(*) as totalRows FROM products WHERE products_status='1' AND id_sub_categ='48'
Euro Brico - Onze Producten
  • Vragen? +32 3 411 10 13
  • Frans Baetenstraat 25/29 Deurne , Antwerpen
  • Verbinding
Array
(
    [0] => Invalid query: 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 '-12,12' at line 1
)
SELECT * FROM products WHERE products_status='1' AND show_new='1' ORDER BY products_last_modified ASC LIMIT 0,3
Array
(
    [0] => Invalid query: 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 '-12,12' at line 1
)
SELECT * FROM products WHERE products_status='1' AND show_home='1' ORDER BY products_last_modified ASC LIMIT 0,3
    Array
    (
        [0] => Invalid query: 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 '-12,12' at line 1
    )
    
    SELECT * FROM img WHERE statut='1'AND id_products='3'
    Array
    (
        [0] => Invalid query: 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 '-12,12' at line 1
    )
    
    SELECT * FROM img WHERE statut='1'AND id_products='3'
Er zijn geen producten in elf categorieën.