huhu
ich finde einfach den Fehler nicht ...
kann mir evtl. jemand auf die Sprünge helfen ?
<?
include '../config.php';
$c1 = 0;
while ($c1<16){$c++;
include 'ger_gen.php';include 'pow_gen.php';
$sp[$c1] = $na; $ss[$c1] = $zz;
switch(true)
case (0 < $c1 && <= 2) : $ps[$c1] = 1; break;
case (2 < $c1 && <= 6) : $ps[$c1] = 2; break;
case (6 < $c1 && <= 12) : $ps[$c1] = 3; break;
case (12 < $c1 && <= 16) : $ps[$c1] = 4; break;
echo "<table border='0' cellpadding ='0' cellspacing='0'>
<tr>
<td width='50'>$ps[$c1]</td>
<td width='200'>$sp[$c1]</td>
<td width='150'>$ss[$c1]</td>
</tr>
</table>";
}
?>
Parse error: parse error, unexpected T_CASE, expecting ':' or '{' in /srv/www/htdocs/web25/html/soc/div/man_build.php on line 8
mfg
KRIS