function modclassement($ref, $parent, $type) { $prod = new Produit(); $prod->charger($ref); $prod->changer_classement($ref, $type); redirige("parcourir.php?parent=" . $parent); }