You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by id limit 3' at line 6
select title_ind,keywords_ind, page_intro_ind,replace(page_ind,'../gallery',''),with_image,image_url,id_admin, concat(id,'_',replace(title_ind,' ','-')) tt from tbl_pages where isactive=1 and page_ind<>'' and page_intro_ind<>'' and id= order by id limit 3

Copyright © 2012 LJM-UMS