I cannot seem to get my link to work.. I want to build a php script that has more than one $_GET command.. The link I want to make is: index.php?section=tutorial&viewing=18-classes_or_ids.
Here is my PHP code..
<?php
$section = $_GET['section'];
switch ($section)
{
case "home":
include("home.html");
break;
case "register":
include("register.html");
break;
case "tutorial_home":
include("tutorial.html");
break;
default:
include("home.html");
}
$tutorial = "?section=" . urlencode('tutorial&viewing') . $_GET['tutorial&viewing'];
switch ($tutorial)
{
case "18-classes_or_ids":
include("classesorids.html");
break;
}
?>
Please help me!!