character ' in switch

From: Date: Thu, 21 Nov 2002 12:11:22 +0000
Subject: character ' in switch
Groups: php.general 
Request: Send a blank email to php-general+get-125397@lists.php.net to get a copy of this message
Hello all, I would like to know how can I put ' character to case in switch... Situation: from flash i am getting url: index.php?action=what's new i need to pass this thing to switch like: switch ($action) { case about: code break; case what's new: <-- i want this... code break; default: break; } but PHP can't use '....i am thinking about making urlencode() to put that character to %XX value.... any advices? -- Best regards, Martin mailto:corwin@corwin.sk

« previous php.general (#125397) next »