mysql table
#1

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;

Since the table is long, how do you make it to put more tables?
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)