Results 1 to 5 of 5
Thread: Msql select
May 26, 2011, 12:29 #1
- Join Date
- Mar 2003
- 0 Post(s)
- 0 Thread(s)
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