Ir para conteúdo
  • Cadastre-se
  • 0

[WEBsite]ClanView.php


helnata

Pergunta

Queria saber se este SELECT tem algum erro.....

 

<?php

include("module/stat-menu.php");

?>

<center><br><b>..:: Clan ::..</b><br><br><hr></center>

<?php

$result = mysql_query("SELECT clan_data.*,char_name FROM clan_data,characters WHERE clan_name='".@mysql_escape_string($_REQUEST["clan_name"])."' AND leader_id=characters.obj_Id", $link)

or die ("Error: ".mysql_error());

$show=mysql_fetch_array($result);

$result = mysql_query("SELECT characters.*,classname FROM characters,char_templates WHERE clanid='".$show['clan_id']."' AND char_templates.ClassId=characters.classid AND clanid ORDER BY exp DESC", $link)

or die ("Error: ".mysql_error());

 

switch ($show["hasCastle"])......

Link para o comentário
Compartilhar em outros sites

3 respostass 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.