Jump to content
MakeWebGames

SQL users2 table


devonbnice

Recommended Posts

Quick grab from the .SQL of Mcc v2.

[mysql]CREATE TABLE `users2` (

`userid` TINYINT(1) NOT NULL auto_increment,

`username` varchar(255) NOT NULL default '',

`userpass` varchar(255) NOT NULL default '',

`level` int(11) NOT NULL default '0',

PRIMARY KEY (`userid`)

) ENGINE=MyISAM ;

[/mysql]Just add in what ever after.

Link to comment
Share on other sites

Well i dont actually need another users table, i just dont know how to make a new table that has the IDs in it.

Like i for mods, instead of adding the columns in the users table, create a new table. and each user would have their own stuff. ya know?

How do i go about doing that?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...