I am making a chat program and I want to find all timestamps that are greater than a timestamp in a mysql query. I currently have this query
SELECT Message, SendTime, Sender FROM ChatMessages WHERE ((Recipient=$me AND Sender=$talkTo) OR (Sender=$me AND Recipient=$talkTo)) AND
I am making it check for new chat messages and I want my query only to return new ones. I have a timestamp of when I last checked for messages.