PHP Forum

PHP Forum (http://www.selfphp.de/forum/index.php)
-   PHP Grundlagen (http://www.selfphp.de/forum/forumdisplay.php?f=12)
-   -   Abfrage funktionierte gestern noch, brauche Hilfe!! (http://www.selfphp.de/forum/showthread.php?t=17866)

Lins56 18.10.2007 08:28:19

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.

N'Koto Zinde 18.10.2007 12:30:59

AW: Abfrage funktionierte gestern noch, brauche Hilfe!!
 
wo ist denn zeile 37?

sysop 18.10.2007 18:17:39

AW: Abfrage funktionierte gestern noch, brauche Hilfe!!
 
wieso 2 mal klammer zu ??


Alle Zeitangaben in WEZ +2. Es ist jetzt 00:06:29 Uhr.

Powered by vBulletin® Version 3.8.3 (Deutsch)
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.