Hi, i want data course categorie i try this
$catego_cours = $DB->get_records_sql('SELECT id,name,depth,path FROM {course_categories} GROUPE BY depth');
what is a true query ? because i have error
thank's for help
You have GROUPE BY in your query. It should be GROUP BY.
ok thank's , i not attention syntaxe , i must tied ...