I thought you had to use the $_GET global array although i've never used that one.
Also if i remember correctly it would be quicker to just state the function as opposed to creating a function assigned to a variable and then calling it 'cause it would take longer then. Just say: switch($_GET['page'];) { then go into the actual parameters of the switch. For example, this is what mine looks like for the first 10 or so lines:
PHP Code:
<?php
switch ($_GET['page'])
{
case 'articles':
include('includes/articles.php');
break;
case 'read_article':
include('includes/read_article.php');
break;