function html_catalogue() { $cat = 0; $crit = ""; if (isset($_GET['categories'])) { $cat = $_GET['categories']; } if (isset($_GET['recherche'])) { $crit = $_GET['recherche']; } $liste = new Catalogue($cat, $crit); echo "<br><br>"; $liste->affiche(); }