What's new

Problem w bazie danych

Status
Not open for further replies.

Hanco

Active User
Joined
Apr 22, 2008
Messages
141
Reaction score
3
Mam problem w bazie danych


mysql_real_query(): UPDATE `players` SET `onlinetimetoday`=players.onlinetimetoday+60, `onlinetimeall`=players.onlinetimeall+60 WHERE `online` = 1; - MYSQL ERROR: Unknown column 'onlinetimetoday' in 'field list' (1054)


Co mam zrobi? ?
Silnik tfs
 

blazion

Advanced User
Joined
Feb 5, 2009
Messages
242
Reaction score
13
Odp: Problem w bazie danych

wgraj od nowa plik players a pewnie ci chodzi o jakis system np kto ile byl online dzis i ile expa wbil ale ciezko z tym jest...
 

arabek3929

Advanced User
Joined
Sep 20, 2008
Messages
312
Reaction score
25
Odp: Problem w bazie danych

wgraj od nowa plik players a pewnie ci chodzi o jakis system np kto ile byl online dzis i ile expa wbil ale ciezko z tym jest...

Jak masz pisa? to pisz co? konkretnego a nie nabijasz posty...

Mam problem w bazie danych
mysql_real_query(): UPDATE `players` SET `onlinetimetoday`=players.onlinetimetoday+60, `onlinetimeall`=players.onlinetimeall+60 WHERE `online` = 1; - MYSQL ERROR: Unknown column 'onlinetimetoday' in 'field list' (1054)
Co mam zrobi? ?
Silnik tfs

Dodaj to do bazy danych - powinno pom?c :)

Code:
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';
 
Last edited:
Status
Not open for further replies.
Top