Adiko
GetOnMyHorse
Xampy, where is the 0.4 mod?
Xampy, where is the 0.4 mod?
if($_POST['todo'] == 'save')
{
delete_guild($guild->getId());
$saved = TRUE;
$war = $guild->getCustomField("in_war_with");
if($war == 0)
}
if($saved)
{
Could you explain this to me?
Whenever i edit guilds.php i get some errors.
Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\guilds.php on line 1647
if($_POST['todo'] == 'save')
{
delete_guild($guild->getId());
$saved = TRUE;
$war = $guild->getCustomField("in_war_with");
if($war == 0) //if $war = 0 then what?
{} //you have to add at least brackets :I
}
if($saved)
{
Parse error: syntax error, unexpected T_ELSE in C:\xampp\htdocs\guilds.php on line 1429
$guild_errors[] = 'You are not a leader of guild!';
else
{
$guild_errors[] = 'You are in war with with some other guild!';
}
}
}
if(!empty($guild_errors))
Code:$guild_errors[] = 'You are not a leader of guild!'; else { $guild_errors[] = 'You are in war with with some other guild!'; } } } if(!empty($guild_errors))
??.x