I am making a forum. I am trying to select about twenty records from a table... basically building a page which lists the various posts and their titles.

I want to do something like this ...

SELECT FROM listposts WHERE recordnumber=126 or recordnumber=437 or recordnumber=174 or recordnumber=4321 or recordnumber=46 or recordnumber=39

So I want to select all records which match a list of recordnumbers. Is there a special way I can do this?

I do not have great experience with msql so sorry or any ignorance