"", "message" => htmlentities($msg['traite_categ_ignore'].$champ_rameau,ENT_QUOTES,$charset) ); } function traite_categories_from_form() { global $max_categ ; $categories = array () ; for ($i=0; $i< $max_categ ; $i++) { $var_categ = "f_categ_id$i" ; global $$var_categ ; if ($$var_categ) $categories[] = array('categ_id' => $$var_categ ); } return $categories ; }