At 13:16 21.11.2002, David Russell spoke out and said: --------------------[snip]-------------------- >Hi Martin, > >Just a thought - can't you escape it? > >switch ($_GET['action']) { > case "about": > code > break; > > case "what\'s new": <-- i want this... > code > break; > > default: > break; >} --------------------[snip]--------------------
You need to escape a quote if it's in a string that is quoted with the same quote: "Double quoted string needs to \"escape\" double quotes but not 'single quotes'" 'Single quoted string needs not to "escape" double quotes but \'single quotes\'" -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/