I feel as though I am probably overlooking something obvious here, but hopefully you guys can point it out to me. I have a few screenshots to show what I'm seeing, as it may be a little difficult to explain.
I have a table that has column `ID` set for auto_increment and as the Primary Key. I put in 5 rows as can be seen in this image, and the auto_increment seems to work perfectly.
Now, I decide to delete the Address row (which is ID 3), and that goes smoothly. I now have this.
Then I decide to add a new row called Comment and it gives it the ID 6 (as it should). However, as you can see here, it places it in between ID's 2 and 4 instead of at the end of the table.
This result effects some of my later scripts and need to know how to have it just place it at the end of the table. Everything is done in php (not in phpMyAdmin). Is it something to do with the auto_increment or primary key? Any help would be greatly appreciated.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum