The basic problem, I have a column called 'ID' which is set to AUTO_INCREMENT and PRIMARY index.
If I add a row it sets the ID to 1, next row to 2, etc. It's working fine.
But when I have for example 6 rows with IDs: 1, 2, 3, 4, 5, 6
and I delete row with, for example, ID = 6, so it's: 1, 2, 3, 4, 5
now, and I add a new row, it doesn't get ID = 6, instead ID = 7. So it's: 1, 2, 3, 4, 5, 7
. What's t he problem?
Why do you downvote my question? I just wanted to know...