Hallo
nach dem update vom Server auf PHP 7 geht mein Programm nicht mehr.
PHP
$output = "";
foreach($this->gamedata as $category){
$games = "";
$gamedata = "";
if(count($category['games']) > 0){
$count = 0;
foreach($category['games'] as $game){
if(($count % 2) == 1 || count($category['games']) == 1){
eval("\$games .= "".$this->template['game']."";");
eval("\$gamedata .= "".$this->template['gdoublewrapper']."";");
$games = "";
} else {
eval("\$games .= "".$this->template['game']."";");
}
$count++;
if(count($category['games']) != 1 && (count($category['games']) % 2) == 1 && ($count == count($category['games']))){
eval("\$gamedata .= "".$this->template['gdoublewrapper']."";");
}
}
eval("\$output .= "".$this->template['category']."";");
}
}
Alles anzeigen
finde nicht was falsch ist.
Bitte um Hilfe!