PHP switch statement
From the menu go to: Insert > PHP Tags >switch.

if you are using string queries (e.g. index.php?i=2) and or if you are using a very large if statement, using the switch statement makes for easier and more efficient coding.

Example:

<?php
switch ($i) {
      case 0:
           echo "i equals 0";
           break;
      case 1:
           echo "i equals 1";
           break;
      case 2:
           echo "i equals 2";
           break;
      default: // If nothing matches above
           echo "well...nothing matches.";
}
?>

See also:
What is PHP?
Tutorials