Ir para conteúdo
  • Cadastre-se
  • 0

Como Arrumo Isso? Pro Meu Site Funfa as Statisticas.


Lineage10

Pergunta

Pessoal Meu Site nao esta dando para ver as statisticas do meu serve

 

Ele da esse erro Alguem ai Sabe como arrumo?

 

 

Erro

 

Warning: mysql_connect() [

O conteúdo está oculto, favor efetuar login ou se cadastrar!
]: [2002] Uma tentativa de conexão falhou porque o componente conectado nã (trying to connect via tcp://localhost:3306) in C:\AppServ\www\rank\pvp.php on line 3

Warning: mysql_connect() [
O conteúdo está oculto, favor efetuar login ou se cadastrar!
]: Uma tentativa de conexão falhou porque o componente conectado não respondeu corretamente após um período de tempo ou a conexão estabelecida falhou porque o host conectado não respondeu. in C:\AppServ\www\rank\pvp.php on line 3

Fatal error: Maximum execution time of 60 seconds exceeded in C:\AppServ\www\rank\pvp.php on line 3

 

 

 

 

Minha pvp.php Abraixo

 

<?php

$co = mysql_connect("localhost","root","") or die (mysql_error());
$db = mysql_select_db("l2jdb",$co) or die (mysql_error());
?>
<html>
<head>
<style type="text/css">
<!--
p {margin-right: 300px;}
-->
</style>
<title>Top pvp</title></head>
<body>
<table width="702" height="234" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#999999">
<tr>
<td width="25"><img src="images/--1.png" width="25" height="25"></td>
<td width="651"> </td>
<td width="25"><img src="images/--3.png" width="25" height="25"></td>
</tr>
<tr>
<td> </td>
<td><table width="651" height="184" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td width="1" height="93"> </td>
<td width="768"><table width="647" height="93" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td width="36"><img src="images/---1.png" width="25" height="25"></td>
<td width="707"> </td>
<td width="25"><img src="images/---3.png" width="25" height="25"></td>
</tr>
<tr>
<td> </td>
<td><div align="center"> <font size="+7" face="28 Days Later">TOP
PVP</font> </div></td>
<td> </td>
</tr>
<tr>
<td height="25"><img src="images/---2.png" width="25" height="25"></td>
<td> </td>
<td><img src="images/---4.png" width="25" height="25"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="91"> </td>
<td><table width="650" height="38" border="1" cellpadding="0" cellspacing="0">
<tr bgcolor="#333333">
<td width="86" bordercolor="#FFFFFF">
<div align="center"><strong><font color="#FFFFFF" size="+1">Ranking</font></strong></div></td>
<td width="226" bordercolor="#FFFFFF">
<div align="center"><strong><font color="#FFFFFF" size="+1">Nome</font></strong></div></td>
<td width="113" bordercolor="#FFFFFF">
<div align="center"><strong><font color="#FFFFFF" size="+1">Level</font></strong></div></td>
<td width="112" bordercolor="#FFFFFF">
<div align="center"><strong><font color="#FFFFFF" size="+1">Title</font></strong></div></td>
<td width="111" bordercolor="#FFFFFF">
<div align="center"><strong><font color="#FFFFFF" size="+1">PVP'S</font></strong></div></td>
</tr>
<?php
$i = 1;
$select = mysql_query("SELECT * FROM characters ORDER BY pvpkills DESC LIMIT 10") or die (mysql_error());
while($res = mysql_fetch_array($select)){

?>
<tr align="center" bgcolor="#CCCCCC">
<td><?php echo $i ?>º</td>
<td><?php echo "$res[char_name]";?></td>
<td><?php echo "$res[level]";?></td>
<td><?php echo "$res[title]";?></td>
<td><?php echo "$res[pvpkills]";?></td>
</tr>
<?php
$i++;
}
?>
</table></td>
</tr>
</table></td>
<td> </td>
</tr>
<tr>
<td><img src="images/--2.png" width="25" height="25"></td>
<td> </td>
<td><img src="images/--4.png" width="25" height="25"></td>
</tr>
</table>
<p align="center"> </p>
</body>
</html>

s3lYzi.png

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts recomendados


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.