Mysql Questions
#1

Hey guys, these questions might make some of you laugh, but w.e idc, i could use some help understanding mysql more.

Alright say im going to use enums for the system, for example:

pawn Код:
enum pInfo
{
pUsername,
pSQLid,
pPassword
}
new PlayerInfo[MAX_PLAYERS][pInfo];
How would i correctly make a database for this? I know i use VARCHAR for username and password, and i set them at 24 value. But how do i know what to set the pSQLid to, the house keys, the items, etc to.

If someone could explain this, and use my example of psqlid, i would be forever grateful, lol, yeah i sound corny oh well.

some other enums you could use to explain, could be pFaction, then maybe floats, for locations. Thanks in advance.
Reply


Messages In This Thread
Mysql Questions - by Anthonyx3' - 04.01.2011, 02:54
Re: Mysql Questions - by Leeroy. - 04.01.2011, 03:28
Re: Mysql Questions - by Anthonyx3' - 04.01.2011, 03:33
Re: Mysql Questions - by Leeroy. - 04.01.2011, 03:35

Forum Jump:


Users browsing this thread: 1 Guest(s)