I have a question to make an algorithm for numbering in javascript PHP. So the format of numbering is like this. For example, there is a people in the system who have an id: