Hello! I am developing something like chat box and I want for example when someone post something to be on one side then the other guy post on other side. Example: I want this in PHP (just for different sides)
You could assign each person with a specific ID and then use that to change CSS class when they write a message. eg. person one has ID 1, person two has ID 2. use CSS class .left-box when the ID of the poster = 1, and .right-box when ID = 2