Within each case statement you might want to include the code necessary to generate that page, for example:
case 1:
include(\'home.php\');
break;
This way the code doesn\'t get too confusing. It\'s also a good idea to handle form processing in a similar manner, for example:
$operator = $_POST[op];
switch($operator)
{
case \'save_data\':