Posts by Miguel Carlos • 51 points
1 post
-
5
votes4
answers10900
viewsQ: Is it possible to use the ternary operator under several conditions at the same time?
It is possible to use more than one condition at a time when using the ternary operator? <?php if($ativa == 0): echo "Médico(a) Desativado(a)"; elseif($ativa == 1): echo "Médico(a) Ativo(a)";…