SA-MP Forums Archive
Question, MySQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question, MySQL (/showthread.php?tid=627521)



Question, MySQL - AndreiWow - 29.01.2017

Hey guys, I have this little question.

So, let's say when the player register it will create a new row in the table with the following things saved:

Name
Password
Score
Money


But in the future I add a new feature to the script and I add a new field to the table called "Item1", how do I add that to the players that are already registered?


Re: Question, MySQL - Unte99 - 29.01.2017

The field will be automatically added to all players.


Re: Question, MySQL - AndreiWow - 29.01.2017

Quote:
Originally Posted by Unte99
Посмотреть сообщение
The field will be automatically added to all players.
Oh, thanks then


Re: Question, MySQL - renatog - 29.01.2017

Seems that you have a lot of SQL questions, check it out: http://www.w3schools.com/sql/default.asp


Re: Question, MySQL - princejeet1510 - 29.01.2017

Quote:
Originally Posted by renatog
Посмотреть сообщение
Seems that you have a lot of SQL questions, check it out: http://www.w3schools.com/sql/default.asp
LOL.....You nailed it xD