Jump to content

stridox

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

stridox's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Still comes up with the same thing; could I of installed it wrong?
  2. 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?
  3. What is Karma and why do I have -1?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.