SA-MP Forums Archive
Help needed in making a column in mysql database. - 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: Help needed in making a column in mysql database. (/showthread.php?tid=448758)



Help needed in making a column in mysql database. - Champ - 05.07.2013

I have created a database to test a admin script. i have created a "Played" function. In which it shows in stats that how many time did player played this server. But it is not permenently saving this. When player connect, it show "1 times played". When player connects again, it shows "1 times played" again.

Here is row of database



i have clicked on a button appeared on top. "EDIT"
A widow popped up.



i don't know how to use it. Please help me making a column and removing a column.
Please help me in making a permenent " Times Played " system.

Thank You.


Re: Help needed in making a column in mysql database. - Vince - 05.07.2013

I don't know about newer versions of phpMyAdmin, but there used to be something like this in the structures tab: http://puu.sh/3vLYi.png


Re: Help needed in making a column in mysql database. - Kyle - 05.07.2013

Quote:
Originally Posted by Vince
View Post
I don't know about newer versions of phpMyAdmin, but there used to be something like this in the structures tab: http://puu.sh/3vLYi.png
Still exists in new versions and that is the tool you need