Gubailovo
Well-Known Member
- Joined
- Dec 19, 2013
- Messages
- 407
- Solutions
- 2
- Reaction score
- 62
I use the names of vocations on the server in my language
I have to change the encoding from UTF-8 to ANSI.
because of this i am getting several errors
for example in highscores it gives me this errorC:\xampp\htdocs\1098serverport7179\system\pages\highscores.php on line 355
is there a solution? I would not like to delete this block of vocations.
I have to change the encoding from UTF-8 to ANSI.
because of this i am getting several errors
for example in highscores it gives me this errorC:\xampp\htdocs\1098serverport7179\system\pages\highscores.php on line 355
PHP:
if($config['highscores_vocation_box'])
{
echo
'<table border="0" width="100%" cellpadding="4" cellspacing="1">
<tr bgcolor="' . $config['vdarkborder'] . '">
<td class="white"><b>Choose a vocation</b></td>
</tr>
<tr bgcolor="'.$config['lightborder'].'">
<td>
<a href="' . getLink('highscores') . '/' . $list . '" class="size_xs">[ALL]</A><BR>';
for($i = 1; $i <= $config['vocations_amount']; $i++) {
echo '<a href="' . getLink('highscores') . '/' . $list . '/' . strtolower($config_vocations[$i]) . '" class="size_xs">' . $config_vocations[$i] . '</a><br/>';
}
echo '
</td>
</tr>
</table>';
}