at first, I m sorry for my english (I m from czech republic)
I have a question:
in DB I have messages and user list and I want to get list of users, which send message to me ($SESSION["id"]) or which I send message to him?
I tryed: "select * from users left join messages on messages.to=$SESSION["id"] or messages.from=$_SESSION["id"]" but it return me too much of lines.
help me please!