Missaoui aymen Posted September 13, 2012 Share Posted September 13, 2012 comment crée un classe qui permet d'afficher la liste des catégorie dans un list box Link to comment Share on other sites More sharing options...
franckm1000 Posted September 13, 2012 Share 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) Link to comment Share on other sites More sharing options...
Missaoui aymen Posted September 21, 2012 Author Share Posted September 21, 2012 Merci Link to comment 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