Using if Statements to Mimic a select Statement
<?php $i = 0; if($i == 0) echo 'First case'; if($i == 1) echo 'Second case'; switch($i) { case 0: echo 'First case'; break; case 1: echo 'Second case'; break; } ?>