any help me with a litle error please
Parse error: syntax error, unexpected 'elseif' (T_ELSEIF), expecting function (T_FUNCTION) in/home/admin/public_html/includes/pages/class.ShowFleetPages.php on line 510
here is code
elseif ($mission == 15)
{
$MaxExpedition = $USER[$resource[124]];
if ($MaxExpedition == 0)
{
$template->message("<font color=\"red\"><b>".$LNG['fl_expedition_tech_required']."</b></font>", "game.php?page=fleet", 2);
exit;
}
$ExpeditionEnCours = parent::GetCurrentFleets($USER['id'], 15);
$EnvoiMaxExpedition = floor(sqrt($MaxExpedition));
Parse error: syntax error, unexpected 'elseif' (T_ELSEIF), expecting function (T_FUNCTION) in/home/admin/public_html/includes/pages/class.ShowFleetPages.php on line 510
here is code
elseif ($mission == 15)
{
$MaxExpedition = $USER[$resource[124]];
if ($MaxExpedition == 0)
{
$template->message("<font color=\"red\"><b>".$LNG['fl_expedition_tech_required']."</b></font>", "game.php?page=fleet", 2);
exit;
}
$ExpeditionEnCours = parent::GetCurrentFleets($USER['id'], 15);
$EnvoiMaxExpedition = floor(sqrt($MaxExpedition));
The post was edited 1 time, last by florin21 ().