Ir para conteúdo

Featured Replies

Postado

mysql_real_query<>: UPDATE 'players" SET 'onlinetimetoday" =players.onlinetimetoday+60, "onlinetimeall" =players.onlinetimeall+60 WHERE "online" = 1;
- MYSQL ERROR: Uknow colum 'onlinletimetoday' in 'field list' <1054>

 

 

 

 

Fica dando esse erro no distro... alguem pode me ajudar?

 


 

Resolvido por Qwizer

Ir para solução
Postado
  • Solução

 

 

ALTER TABLE `players` ADD `exphist_lastexp` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `exphist1` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `exphist2` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `exphist3` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `exphist4` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `exphist5` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `exphist6` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `exphist7` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetimetoday` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetime1` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetime2` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetime3` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetime4` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetime5` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetime6` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetime7` BIGINT( 255 ) NOT NULL DEFAULT '0',

ADD `onlinetimeall` BIGINT( 255 ) NOT NULL DEFAULT '0';

UPDATE `players` SET `exphist_lastexp`=`players`.`experience`;

 

 

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo