proctl081 Posted December 11, 2012 Share Posted December 11, 2012 Bonjour à tous, Voilà j'utilise actuellement le code suivant pour afficher les photos des catégories : {if isset($smarty.get.id_category)} <img src="img/c/{$smarty.get.id_category}-category.jpg"> {/if} J'aimerai cependant y intégrer : {if file_exists()} Mais je n'arrive pas à organiser tout ça avec assign et la variable chemin du fichier. Pourriez vous m'aider ? 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