Really wern't sure if this forum was only for vB related issues or not but since the help here seems to be the best i've come across i thought i'd risk a telling offf and ask, can someone tell me where i've gone wrong
PHP Code:
<?
switch ($page)
{
case "site":
switch ($cat)
{
case "whatisebs":
include "incl/site_whatisebs.ebs.php";
break;
case "staff":
include "incl/site_staff.ebs.php";
break;
default:
include "incl/site_index.ebs.php";
}
break;
case "life":
switch ($cat)
{
case "articles":
include "incl/life_articles.ebs.php";
break;
case "gallery":
include "incl/life_gallery.ebs.php";
break;
case "art":
include "incl/life_art.ebs.php";
break;
case "cam":
include "incl/life_cam.ebs.php";
break;
case "poems":
include "incl/life_poems.ebs.php";
break;
default:
include "incl/life_index.ebs.php";
}
break;
case "music":
switch ($cat)
{
case "articles":
include "incl/music_articles.ebs.php";
break;
case "chart":
include "incl/music_chart.ebs.php";
break;
case "weekly":
include "incl/music_weekly.ebs.php";
break;
case "monthly":
include "incl/music_monthly.ebs.php";
break;
default:
include "incl/music_index.ebs.php";
}
break;
case "screen":
switch ($cat)
{
case "articles":
include "incl/screen_articles.ebs.php";
break;
case "reviews":
include "incl/screen_reviews.ebs.php";
break;
case "recommended":
include "incl/screen_recommended.ebs.php";
break;
default:
include "incl/screen_index.ebs.php";
}
break;
case "sport":
switch ($cat)
{
case "articles":
include "incl/sport_articles.ebs.php";
break;
case "ebsprem":
include "incl/sport_ebsprem.ebs.php";
break;
default:
include "incl/sport_index.ebs.php";
}
break;
case "games":
switch ($cat)
{
case "articles":
include "incl/games_articles.ebs.php";
break;
case "reviews":
include "incl/games_reviews.ebs.php";
break;
default:
include "incl/games_index.ebs.php";
}
break;
case "web":
switch ($cat)
{
case "articles":
include "incl/web_articles.ebs.php";
break;
case "reviews":
include "incl/web_reviews.ebs.php";
break;
case "links":
include "incl/web_links.ebs.php";
break;
default:
include "incl/web_index.ebs.php";
}
break;
default:
include "incl/index.ebs.php";
}
?>
the page switch works fine, but the cat switch doesn't seem to wanna work, help :squareeyed: :nervous: