best way to save kills per weapontype in mysql
#4

Table: userid - weaponid - killed, with userid and weaponid as the composite primary key.

Query to add kills:
PHP код:
INSERT INTO table (useridweaponidkilledVALUES (%d, %d, %dON DUPLICATE KEY UPDATE killed killed + %
Reply


Messages In This Thread
best way to save kills per weapontype in mysql - by PizzaPuntjes - 02.08.2015, 15:29
Re: best way to save kills per weapontype in mysql - by Scenario - 02.08.2015, 15:34
Re: best way to save kills per weapontype in mysql - by xVIP3Rx - 02.08.2015, 15:35
Re: best way to save kills per weapontype in mysql - by Vince - 02.08.2015, 15:49
Re: best way to save kills per weapontype in mysql - by PizzaPuntjes - 02.08.2015, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)