My problem in fairly simple. I have a login system constructed using php, mysql databases, and ajax. Everything was working until today when I found a very potential problem that could completely confuse the system. Every single user in the database has a id that is automatically generated by setting auto-increment for the id column to give them a unique id. now my problem is that for example, my chat system, is trying to display all the users in the room. Well, the id for my first user is 1, and the id for the second user is 104. So, php extracts all the users id's from the database, which is stored in this format: My problem in fairly simple. I have a login sys