SELECT curs_code, count(*) as 'count_of_curs' FROM cursus where curs_code='$id' group by curs_code
Supprimez où si vous voulez la liste complète.
SELECT curs_code, count(*) as 'count_of_curs' FROM cursus where curs_code='$id' group by curs_code
Supprimez où si vous voulez la liste complète.