select P.* from STR_PAGES AS P WHERE P.id_pg>0 AND P.enligne=1 AND id_th= AND id_rub=48 ORDER BY position LIMIT 1 OFFSET 0
LastE:
ResE: 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 id_rub=48 ORDER BY position LIMIT 1 OFFSET 0' at line 1