dimanche 27 septembre 2015

PHP - If statement to hide X if image showing but show X if image isn't showing?

I'm using Opencart to build a site. You can add banners to all categories.

I want to have the banner show and the text which is currently there by default hide... but if there is no banner show the default text again.

how could I do this in PHP?

Thanks!

Aucun commentaire:

Enregistrer un commentaire