fetchArray("SELECT * FROM `mg_categorie` WHERE `parent`=".prepare($id_record)); foreach ($subcategorie as $sub) { echo ' '.$sub["nome"].' '.$sub["colore"].' '.$sub["nota"].' '; } ?>