Pëlqeje në
E pelqej BebaIme.com në Facebook



 select userId, articles_questions.content , articles.name , articles.nav , articles.nav , articles_questions.img1 , articles_questions.img2
            from articles 
            LEFT JOIN articles_questions on (
              articles_questions.article_id = articles.id AND (
                articles_questions.img2 IS NOT NULL || articles_questions.img1 IS NOT NULL 
              )
            )
            WHERE page_id = '93' 
            group by articles.id
            order by articles.ord 
            limit -22,22
          
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 '-22,22' at line 11