My db table looks like this pic. http://prntscr.com/22z1n
Recently I\'ve created delete.php page. it works properly but when i deleted 21th user next registered use
What you want to do is achievable by adding an extra column to your table called something like user_order. You can then write code to manage inserts and deletions so that this column is always sequential with no gaps.
This way you avoid the problems you could have messing around with an auto_increment column.