Ir para conteúdo
  • Cadastre-se
  • 0

[INTERLUDE] [L2J]


helnata

Pergunta

Olá estou editando o Web site queria saber como tiro os 5 primeiros dos TOP 10 que são os GM e ADMIN

 

<?php

$data=mysql_query("SELECT * FROM characters WHERE 1=1 ORDER BY level DESC LIMIT 10");

print '<table width="100% cellpadding="0" cellspacing="0" border="0">

<tr><td><center>Nick</center></td></tr><tbody>';

if ($data)

{

while ($top2=mysql_fetch_array($data))

{

if(!isset($char["{$top2["char_name"]}"]))

{

if ($top2) { $name=''.$top2[char_name].'';

}

else { $name=''.$top2[char_name].''; }

print "<tr><td class='cN'><center>$name</center></td></tr>\n";

}}}

?>

</table>

 

VLW!!!!!!!!

Link para o comentário
Compartilhar em outros sites

2 respostass a esta questão

Posts recomendados


<?php

$data=mysql_query("SELECT * FROM characters WHERE accesslevel = 1 ORDER BY level DESC LIMIT 10");

print '<table width="100% cellpadding="0" cellspacing="0" border="0">

<tr><td><center>Nick</center></td></tr><tbody>';

if ($data)

{

while ($top2=mysql_fetch_array($data))

{

if(!isset($char["{$top2["char_name"]}"]))

{

if ($top2) { $name=''.$top2[char_name].'';

}

else { $name=''.$top2[char_name].''; }

print "<tr><td class='cN'><center>$name</center></td></tr>\n";

}}}

?>

</table>

 

VOU tentar!!!!!

Link para o comentário
Compartilhar em outros sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...



×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.