SELECT name, permalink, constitution_year, reconstitution_year, alpini_members, aggregate_members, friends_members
FROM groups WHERE active = 'on' ORDER BY ordine DESC
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 'groups WHERE active = 'on' ORDER BY ordine DESC' at line 2