so I have this really weird bug and I have no idea why it occurs:
I have an "index.php" with header and footer and in the middle it includes a "Content.php", that outputs the content, depending on which Get-parameter the index.php has:
case 3: include_once("contact.php");
case 8: include_once("pressestimmen.php");
<ul class="nav nav-tabs">
Try changing your case 4 block like this;
case 4: include_once("team.php"); break;
Then in your team.php script, try to get the
members parameter from $_GET.
Basically, what you are doing in your implementation, is telling php to look for a file called
team.php?member=1 instead of looking for
team.php and passing the member = 1 parameter.
Since the file
team.php?member=2, ...) doesn't exists on disk, no content is shown.
If you want detailed information on the errors, warnings, ... on your page (e.g. why a page won't load or what php can't find); add these three lines at the top of your page;
<?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
Have a look here for more information; How do I get PHP Errors to display?