Questions about MySQL (+REP)
#10

Quote:
Originally Posted by Lirbo
Посмотреть сообщение
I didn't really get what are those ER diagrams are doing.
another question; I'll have to do something like this in my pawn or?

PHP код:
CREATE TABLE Player_Database(id INTEGER PRIMARY KEYname TEXTquantity INTEGER);
INSERT INTO Player_Database VALUES (1"Money"10000); 
if no, where i'll supposed to do that?
You don't need to insert an ID as you would make it AUTO Increment. If you are trying to store player data the table should be called 'Accounts' with rows consisting of say.. Username,Password,Money,X,Y,Z,Weapon1 and so forth.

ER Diagrams are basic pre-models you can create to make sure you have everything correct, If you look at the link theres a more indepth explanation.
Reply


Messages In This Thread
Questions about MySQL (+REP) - by Lirbo - 10.07.2016, 08:32
Re: Questions about MySQL (+REP) - by Vince - 10.07.2016, 08:42
Re: Questions about MySQL (+REP) - by Lirbo - 10.07.2016, 08:59
Re: Questions about MySQL (+REP) - by Vince - 10.07.2016, 09:43
Re: Questions about MySQL (+REP) - by minijackc - 10.07.2016, 09:45
Re: Questions about MySQL (+REP) - by Lirbo - 10.07.2016, 09:46
Re: Questions about MySQL (+REP) - by minijackc - 10.07.2016, 09:48
Re: Questions about MySQL (+REP) - by SyS - 10.07.2016, 09:57
Re: Questions about MySQL (+REP) - by Lirbo - 10.07.2016, 09:59
Re: Questions about MySQL (+REP) - by minijackc - 10.07.2016, 10:12

Forum Jump:


Users browsing this thread: 1 Guest(s)