title: Show page by variable ?page= and some help needed?
body: <p>Hi m i want to display some page via the variable ?page= its giving error 
  Parse error: syntax error, unexpected '/' in C:\AppServ\www\index.php on line 11</p>
  
  <pre><code>&lt;?php
  include 'assets/config.php';
  $page = $_GET["page"];
  if ($page == "script") {
  include("/pages/script.php");
  }
  if ($page == "how") {
  include(/pages/"how.php");
  ?&gt;
  </code></pre>
  
  <p>Please i need help  on that and also</p>
  
  <p>i want to redirect urls via a new variable ?go= page on my website my code Please customize it .... </p>
  
  <pre><code>*&lt;?php
  include '/assets/config.php';
  $goto = $_SERVER['QUERY_STRING'];
  $RedirectTo = "$goto";
  header("Location: $RedirectTo");
  exit;
  ?&gt;*
  </code></pre>
  
  <p>Thanks </p>