Това не го направих заместих сега кода
$query = mssql_query("Select class,LevelUpPoint,Strength,Dexterity,Vitality,Ene rgy From Character where name='$character'");
Обаче няма резултат а тази променлива
$a незнам къде да я сложа..
Иначе ето
check_inject();
$query = mssql_query("Select class,LevelUpPoint,Strength,Dexterity,Vitality,Ene rgy From Character where name='$character'");
$row = mssql_fetch_row($query);
Ето ти кода от rankings.php
<tr>
<td width="182" id="memoos">Top Players </td>
</tr>
<tr height="198">
<td colspan="3" valign="top"><center>
<table class=ms height=0 cellpadding=0 border=0 cellspacing="1" width="180">
<thead>
<tr>
<td class=mem width=17 align=left><b><font size=1 color=#ffffff><center>ID</center></font></td>
<td class=mem align=left><b><font size=1 color=#ffffff title='Name Of Character'><center>Name</center></font></td>
<td class=mem align=left><b><font size=1 color=#ffffff> <font size=1 color=#f99455>Res</font></center></td>
</tr>
<?php
$query = mssql_query("SELECT TOP 14 name,resets from character order by resets desc,clevel desc");
for($i=0;$i < mssql_num_rows($query);++$i)
{
$row = mssql_fetch_row($query);
$rank = $i+1;
echo"
<tr>
<td class=mem align='left'><b><font size=1 color=#ffffff> $rank.</td>
<td class=mem align='left'><b><font size=1 color=#ffffff> $row[0]</td>
<td class=mem align='left'><b><font size=1 color=#ffffff> <font size=1 color=#f99455>$row[1]</font></td>
</tr>
";
}
?>
</tbody></table>
</td>
</tr>
Кажи кво да махна