SA-MP Forums Archive
Databases, and things - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Databases, and things (/showthread.php?tid=212802)



Databases, and things - Jack- - 18.01.2011

Is it possible to make a site so people can edit details for the in game character, then certain users can search for peoples information ? sort of like a database?


Re: Databases, and things - PeteShag - 18.01.2011

Yes it is. You will need some PHP knowledge and probably some MySQL knowledge as well, if your player base is stored in MySQL. Alternative you can read and save in .json files using Djson but you have to make a javascript or smth to read to the web.


Re: Databases, and things - Saurik - 18.01.2011

Use mysql. Using files can be very annoying and slow.


Re: Databases, and things - Grim_ - 18.01.2011

Very common misconception, files are just as fast as MySQL.


Re: Databases, and things - snoops - 18.01.2011

Quote:
Originally Posted by Grim_
Посмотреть сообщение
Very common misconception, files are just as fast as MySQL.
Wrong.

And saving files takes longer to load, and if the savings aint properly coded it can be bugged in multi ways. to crash a server.

Its recommended to use mysql saving.


Re: Databases, and things - Grim_ - 18.01.2011

Quote:
Originally Posted by snoops
Посмотреть сообщение
Wrong.

And saving files takes longer to load, and if the savings aint properly coded it can be bugged in multi ways. to crash a server.

Its recommended to use mysql saving.
Clearly you have no idea what you're talking about, so I'll leave it at that.