title: Switch Statment Give Always The default
body: <p>I have a problem in my script in wampserver. It runs well. But in my hosting it doesn't display
  the page which is named classed.php?cat=[category_Name_Example]</p>
  
  <pre><code>    &lt;?php header("Content-type: text/html; charset=utf-8"); 
  ?&gt;
  &lt;?php include_once("analyticstracking.php") ?&gt;
  
  &lt;?php
  include 'includis/html_codes.php';
  include 'includis/config.php';
  $catID= mysql_real_escape_string($_GET['cat']);
  
  switch ($catID)
  {
  
  
    case 'javascript' :
    $catName = "javascript";
    $PageTitle = "Javascript  ";
    $img = "img/javascript.png";
    break;
  
    case 'htmlandcss' :
    $catName = "htmlandcss";
    $PageTitle = "html ";
    $img = "img/html2.png";
    break;
  
    default:header('location: /404');
  }
  if (!isset($catID)){
  header ('Location 404.php');
  }
  if (empty($catID)){header ('Location 404.php');}
  
   include 'includis/db.php';
  
  ?&gt;
  </code></pre>
  
  <p>please help thanx :) </p>