Answer the question
In order to leave comments, you need to log in
How to break a swift loop?
How to break this loop properly???
The example below shows the error
<?php switch (){ ?>
<? }?>
Answer the question
In order to leave comments, you need to log in
<div>
<?php switch($variable):
case 1: ?>
<div>
Newspage
</div>
<?php break; ?>
<?php case 2: ?>
</div>
Forum
<div>
<?php break; ?>
<?php endswitch; ?>
</div>
Something like this Alternative syntax for control structures
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question