MySQL Help
#5

I had trouble typing it up, it is hard to understand.


What I'm hoping to achieve is when somebody deletes their vehicle, there'll be a gap in the ID row of the table, so it'll show like this, 1, 2, 4, 5, what I'd like to happen is the ID's get put back in order, so they'd show like this, 1, 2, 3, 4.

Then, what I'd want to happen is, the player vehicle id 5 as their carkey, it'd be set to 4 cause the ID row has been put back into order.
Reply


Messages In This Thread
MySQL Help - by Luis- - 04.08.2015, 23:11
Re: MySQL Help - by Vince - 04.08.2015, 23:37
Re: MySQL Help - by Luis- - 04.08.2015, 23:47
Re: MySQL Help - by Vince - 05.08.2015, 00:06
Re: MySQL Help - by Luis- - 05.08.2015, 00:18

Forum Jump:


Users browsing this thread: 1 Guest(s)