You should change || to && for check that they are all ready

<?php 
      if (
           $collaboratore_abilitato['one'] === 'ready' &&
           $collaboratore_abilitato['two'] === 'ready' &&
           $collaboratore_abilitato['three'] === 'ready' 
         ): 
?>

    <!-- SHOW CODE -->

<?php else: ?>

    <!-- SHOW ANTOHER CODE -->

<?php endif; ?>

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top