<?php
$foo = 3;
if ($foo == 2)
//do something
if ($foo == 3)
else
//do something else
if ($foo != 0)
{
}
//do another thing
?>