I am trying to get the messages where the sendID is equal to one of two values.
This is the statement that I have but it seems to spit out only the messages associated with the first sendID.
(SELECT * FROM messages WHERE sendID = ? AND ? ORDER BY timeStamp ASC', id1, id2)
Can anyone suggest a good method to do this?
Thanks
or