MySQL numbering per player
#2

Create a table for vehicles if you haven't already. Create a combined primary key, consisting of the userid that's in your player's table (use foreign keys) and the auto_increment vehicleid from the vehicle's table. Then your table could look something like:

useridvehicleidmodel
11522
12402
23600
Reply


Messages In This Thread
MySQL numbering per player - by dusk - 25.02.2013, 08:43
Re: MySQL numbering per player - by Vince - 25.02.2013, 09:04
Re: MySQL numbering per player - by dusk - 25.02.2013, 12:19
Re: MySQL numbering per player - by dusk - 25.02.2013, 14:59
Re: MySQL numbering per player - by dusk - 25.02.2013, 16:55
Re: MySQL numbering per player - by Misiur - 25.02.2013, 17:06
Re: MySQL numbering per player - by dusk - 25.02.2013, 17:17
Re: MySQL numbering per player - by Misiur - 25.02.2013, 17:31
Re: MySQL numbering per player - by dusk - 25.02.2013, 17:40
Re: MySQL numbering per player - by dusk - 26.02.2013, 06:41

Forum Jump:


Users browsing this thread: 2 Guest(s)