Wouter -
You have two problems with your code. First, you cannont have the semicolon after the parenthesis in your IF statement. Secondly, you still need to end statements inside of an IF statement with semicolons (after the include() statements). Your error occurs because the parser does not know the difference between logic and actual statements before reaching the ELSE. It should look like this:
if ($show != "test") { //no semicolon
include("test.dat"); //semicolon added
} else {
include("home.dat"); //semicolon added
}
I also notice that you are including "test.dat" if $show DOES NOT EQUAL "test"... are you sure you want to do that? If not, you want this:
if ($show == "test") {
include("test.dat");
} else {
include("home.dat");
}