RE: Help with MySQL queries
Actually, quick question: why is fid a text field when you're storing numbers in it?
I also recommend using capitals for all keyworks, like:
SELECT * FROM posts WHERE fid IN ('2','8','4','5','6','9','22','24','14','23','11','12','13') ORDER BY dateline DESC LIMIT 5
The SQL stands out from the data then.
|