Hi,
It means that there is an error in your statement ;-)
If I remember correctly you have to place : between the case value and the action:
switch ($season){
case $season[1]:
$_POST['season']."5.txt";
break;
case $season[2]:
$_POST['season']."6.txt";
break;
case $season[3]:
$_POST['season']."7.txt";
break;
case $season[4]:
$_POST['season']."8.txt";
break;
case $season[5]:
$_POST['season']."9.txt";
break;
}
And then there is still the problem that $POST['season']."5.txt"; doesn't really do anything, which may result in an error. You might want to parse it into a var?
$var = $POST['season']."5.txt";