ho cambiato il codice così:

Codice PHP:
$query_1 "SELECT count(*) as Num, id_art_marca FROM c_art_articolo GROUP BY id_art_marca";
       
$mysql_query_1=mysql_query($query_1$conn);
       
       
    
$tag = array();
    while(
$row=mysql_fetch_array($mysql_query_1)) 

però ora mi da quest'altro errore:

Errore nella query: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 'id_art_marca FROM c_art_articolo GROUP BY id_art_marca' at line 1