Missaoui aymen Posted September 13, 2012 Posted September 13, 2012 comment crée un classe qui permet d'afficher la liste des catégorie dans un list box Share this post Link to post Share on other sites More sharing options...
franckm1000 Posted September 13, 2012 Posted September 13, 2012 (edited) Pas besoin de créer une classe pour cela. Il suffit d'utiliser la classe Category.php avec la méthode suivante: global $cookie;$categories=Category::getCategories($cookie->id_lang); Après un foreach suffira pour afficher les catégories dans un select. Edited September 13, 2012 by franckm1000 (see edit history) Share this post Link to post Share on other sites More sharing options...
Missaoui aymen Posted September 21, 2012 Posted September 21, 2012 Merci Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now