Einzelnen Beitrag anzeigen
  #1  
Alt 18.10.2007, 09:28:19
Lins56 Lins56 ist offline
Anfänger
 
Registriert seit: Oct 2007
Beiträge: 8
Abfrage funktionierte gestern noch, brauche Hilfe!!

Morgen. Habe gestern eine switch Abfrage geschrieben die Einwandfrei funktionierte. Heute morgen hab ich eine Fehlermeldung erhalten:

Parse error: parse error, unexpected T_BREAK in G:\Inetpub\iis_cgi-bin\TA20Report\funktionenversuch.php on line 37

Hab schon überall gesucht nur nichts gefunden. Wer kann mir helfen??
Anbei mein Skript:

$entscheidung = $_GET["entscheidung"];
switch ($entscheidung)
{
//1 Chart Abt55_Isofert
case "Abt55_Isofert":
imagestring ($im, $font, 960, $y, "Abt55_Isofert", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//2 Chart Linie 1 Gruppe 1
case "Linie1Gruppe1":
imagestring ($im, $font, $x, $y, "Linie 1 Gruppe 1", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//3 Chart Linie 1 Gruppe 2
case "Linie1Gruppe2":
imagestring ($im, $font, $x, $y, "Linie 1 Gruppe 2", $color_string);
zeichne_map (4);
//zeichne_skalax (4);
break;

//4 Chart Linie 1 Gruppe 3
case "Linie1Gruppe3":
imagestring ($im, $font, $x, $y, "Linie 1 Gruppe 3", $color_string);
zeichne_map (2);
//zeichne_skalax (2);
break;

//5 Chart Linie 1 RepPlatz
case "Linie1RepPlatz":
imagestring ($im, $font, $x, $y, "Linie 1 RepPlatz", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//6 Chart Linie 2 Gruppe 1
case "Linie2Gruppe1":
imagestring ($im, $font, $x, $y, "Linie 2 Gruppe 1", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//7 Chart Linie 2 Gruppe 3
case "Linie2Gruppe3":
imagestring ($im, $font, $x, $y, "Linie 2 Gruppe 3", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//8 Chart Linie 3 Gruppe 1
case "Linie3Gruppe1":
imagestring ($im, $font, $x, $y, "Linie 3 Gruppe 1", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//9 Chart Linie 3 Gruppe 2
case "Linie3Gruppe2":
imagestring ($im, $font, $x, $y, "Linie 3 Gruppe 2", $color_string);
zeichne_map (2);
//zeichne_skalax (3);
break;

//10 Chart Linie 3 Gruppe 3
case "Linie3Gruppe3":
imagestring ($im, $font, $x, $y, "Linie 3 Gruppe 3", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//11 Chart Linie 4 Gruppe 1
case "Linie4Gruppe1":
imagestring ($im, $font, $x, $y, "Linie 4 Gruppe 1", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//12 Chart Linie 4 Gruppe 2
case "Linie4Gruppe2":
imagestring ($im, $font, $x, $y, "Linie 4 Gruppe 2", $color_string);
zeichne_map (1);
//zeichne_skalax (1);
break;

//13 Chart Linie 4 Gruppe 3
case "Linie4Gruppe3":
imagestring ($im, $font, $x, $y, "Linie 4 Gruppe 3", $color_string);
zeichne_map (2);
//zeichne_skalax (2);
break;

//14 Chart Linie 5 Gruppe 1
case "Linie5Gruppe1":
imagestring ($im, $font, $x, $y, "Linie 5 Gruppe 1", $color_string);
zeichne_map (2);
//zeichne_skalax (2);
break;

//15 Chart Linie 5 Gruppe 2
case "Linie5Gruppe2":
imagestring ($im, $font, $x, $y, "Linie 5 Gruppe 2", $color_string);
zeichne_map (3);
//zeichne_skalax (3);
break;

//16 Chart Linie 5 Gruppe 3
case "Linie5Gruppe3":
imagestring ($im, $font, $x, $y, "Linie 5 Gruppe 3", $color_string);
zeichne_map (2);
//zeichne_skalax (2);
break;
}

}

Würde mich um Hilfe freuen, steh nämlich total auf dem Schlauch.
Mit Zitat antworten