quero ressaltar tambem que algumas scripts do meu site funcionam: www.friendspt.com.br e também que o nome da máquina antes de formatar era pt e depois de formatar PT não sei se da conflito na instância diferença entre letra maiúscula e minúscula exemplo de script que está funcionando: <?php $dbhost = 'DRIVER={SQL Server};SERVER=pt\SQLEXPRESS;DATABASE=rPTDB';
$dbuser = "sa";
$dbpass = "123456";
$connection = odbc_connect($dbhost, $dbuser, $dbpass);
$verifica = "SELECT TOP 10 * FROM LevelList WHERE CharClass < 'Unknown ID: 0' and CharName != '[Administrador]' and CharName != 'Administrador' and CharName != 'Admin' and CharName != 'GMLebon' and CharName != 'Google' and CharName != ' ' and CharName != 'Teste' and CharName != 'Dat' and CharName != 'FriendsPT' and CharName != 'GMLebonIV' and CharName != 'GMFloripa' and CharName != 'GMFriend'and CharName != 'Hacker' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' and CharName != 'xxxxxxxx' ORDER BY CharLevel DESC ";
echo '<table align="center" ><tr><td class="STYLE8"></td><td width=100%" class="STYLE8">Nick</td><td width="100%" class="STYLE8">Level</td></tr>';
$rank = odbc_exec($connection, $verifica);
if($pg == 1 or $pg == 0){
$i = 1;
}elseif($pg > 1){
$i = $ini+1;
}
while($dados = odbc_fetch_array($rank))
{
$id=$i+1;
echo ($i % 2) ? "<tr>" : "<tr>";
echo '<td><Justify>'.$i.'</Justify></td>';
echo '<td><img src="class/'.$dados['CharClass'].'.gif" width="32" height="26">'.$dados['CharName'].'</td>';
echo '<td><Justify>'.$dados['CharLevel'].'</Justify></td>';
echo '</tr>';
$i++;
}
echo '</table>';
?>