I know that this works [code]<? $Function = ( $_POST['f'] ) ? $_POST['f'] : $_GET['f']; //Gets the function switch( $Function ) { case 'a': ?> <a href="switcher.php?f=b">Function B</a><br> <a href="switcher.php">No Function (Default used)</a> <? break; case 'b': ?> This is the function 'b'.<br> <a href="switcher.php?f=a">Function A</a><br> <a href="switcher.php">No Function (Default used)</a> <? break; default: ?> <a href="switcher.php?f=a">Function A</a><br> <a href="switcher.php?f=b">Function B</a><br> <a href="switcher.php?f=c">Function C (Does not exist, use default)</a> <? }; ?> [/code] But I just installed PHP on this machine, and I'm getting this: [pre]Notice: Undefined index: f in f:\site\switcher.php on line 5 Notice: Undefined index: f in f:\site\switcher.php on line 5 Function A Function B Function C (Does not exist, use default)[/pre] Any ideas?