mysql table
#8

PHP код:
SetupPlayerTable()
{
    
mysql_tquery(g_SQL"CREATE TABLE IF NOT EXISTS `players` (`id` int(11) NOT NULL AUTO_INCREMENT, \
    `username` varchar(24) NOT NULL,\
    `password` char(64) NOT NULL, \
    `salt` char(16) NOT NULL, \
    `kills` mediumint(8) NOT NULL DEFAULT '0', \
    `deaths` mediumint(8) NOT NULL DEFAULT '0', \
    `respect`  mediumint(8) NOT NULL DEFAULT '0', \
    `score`  mediumint(8) NOT NULL DEFAULT '0', \
    `points`  mediumint(8) NOT NULL DEFAULT '0', \
    `admin`  mediumint(8) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `username` (`username`))"
);
    return 
1;

Код:
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(3094) : error 075: input line too long (after substitutions)
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(3095) : error 037: invalid string (possibly non-terminated string)
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(3095) : error 017: undefined symbol "CREATE"
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(3095) : error 017: undefined symbol "TABLE"
C:\Users\Wallen\Desktop\LS DM\gamemodes\DBv1.pwn(3095) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
3094
PHP код:
`points`  mediumint(8NOT NULL DEFAULT '0', \ 
3095

PHP код:
`admin`  mediumint(8NOT NULL DEFAULT '0'PRIMARY KEY (`id`), UNIQUE KEY `username` (`username`))"); 
Reply


Messages In This Thread
mysql table - by wallen - 08.03.2018, 17:09
Re: mysql table - by jasperschellekens - 08.03.2018, 17:17
Re: mysql table - by wallen - 08.03.2018, 17:31
Re: mysql table - by wallen - 08.03.2018, 20:57
Re: mysql table - by Stev - 08.03.2018, 21:22
Re: mysql table - by wallen - 08.03.2018, 21:39
Re: mysql table - by BroZeus - 08.03.2018, 21:47
Re: mysql table - by wallen - 08.03.2018, 21:51
Re: mysql table - by BroZeus - 08.03.2018, 22:01
Re: mysql table - by wallen - 08.03.2018, 22:08

Forum Jump:


Users browsing this thread: 1 Guest(s)