Université du temps libre de Haute MayenneUniversité du temps libre de Haute Mayenne

Université du temps libre de Haute mayenne
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 'ORDER BY pages_elements.position' at line 1
SELECT pages_elements.* FROM pages, pages_elements WHERE pages.id=pages_elements.id_page AND pages.prettyurl='charte-de-l-utl-hm' AND pages.profil= ORDER BY pages_elements.position
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 'ORDER BY pages_elements.position LIMIT 1' at line 1
SELECT pages_elements.* FROM pages, pages_elements WHERE pages.id=pages_elements.id_page AND pages.prettyurl='charte-de-l-utl-hm' AND pages.profil= ORDER BY pages_elements.position