I couldn't find a real answer anywhere so I am asking.
Here is my query
("SELECT * FROM messages WHERE message_date < ? AND message_date //not greater than// ? AND to_user = ? OR from_user = ? ORDER BY message_date DESC")
I have no idea how to check that the date is not greater than the defined date
<statement at the beginning of the query. For some reason it is showing things that are>the date that I have set.. Instead of only showing items that are<the defined date it is also showing items from>too and I cannot figure out why, this is why I asked the question. I hope that clarifies that my questions isn't entirely moronic.