melko: warum funktioniert dieser Code nicht??

Beitrag lesen

Hallo!

Ich bin ein PHP-Neuling und habe ein Problem wo ich kein Lösung weiß... und zwar bei folgendem Code generiert er den hier kommentierten Bereich nicht!

Ich weiß nicht ob ich da ein Variablen-Problem habe oder woran es sonst liegt... Bitte um Eure Hilfe. DANKE

echo "<div id="game".$y."" style="display:none">\n";
echo "<table width=100% border=0 bgColor='#ffffff' cellspacing="1">\n";

$god = explode(";",$params->get('god'.$y));
$gog = explode(";",$params->get('gog'.$y));
$counter = 0;
if (count($god)>=count($gog)){
$counter = count($god);
}
else {
$counter = count($gog);
}
echo "<TR><TD align=center width=13% height=13><img src="".$mosConfig_live_site."/modules/mod_ticker/images/gol.png" border=0></td>\n";
echo "<TD align=left width=35% bgColor="#E7E3E7" height=13 class="detail">".$god[0]."</td>\n";
echo "<TD align=center width=4% bgColor="#E7E3E7" height=13 class="detail"></td>\n";
echo "<TD align=right width=35% bgColor="#E7E3E7" height=13 class="detail">".$gog[0]."</td>\n";
echo "<TD align=center width=13% height=13><img src="".$mosConfig_live_site."/modules/mod_ticker/images/gol.png" border=0></td>\n</TR>\n";
/*
if($counter > 1){
for($z=1; z <= $counter; $z++){
echo "<TR><TD align=center width=13% height=13><img src="".$mosConfig_live_site."/modules/mod_ticker/images/gol.png" border=0></td>\n";
echo "<TD align=left width=35% bgColor="#E7E3E7" height=13 class="detail">".$god[$z]."</td>\n";
echo "<TD align=center width=4% bgColor="#E7E3E7" height=13 class="detail"></td>\n";
echo "<TD align=right width=35% bgColor="#E7E3E7" height=13 class="detail">".$gog[$z]."</td>\n";
echo "<TD align=center width=13% height=13><img src="".$mosConfig_live_site."/modules/mod_ticker/images/gol.png" border=0></td>\n</TR>\n";
}
}
*/
echo "</TABLE>\n</DIV>\n</TD>\n</TR>\n";