I have a mysql question.
I have a news section on my website, and I want to display the two latest items. If I do:
SELECT * FROM nieuws ORDER BY id
SELECT * FROM nieuws ORDER BY id DESC LIMIT 2 - selects last 2 items
SELECT * FROM nieuws ORDER BY id DESC LIMIT 2
SELECT * FROM nieuws ORDER BY id DESC LIMIT 1, 1 - selects only second item
SELECT * FROM nieuws ORDER BY id DESC LIMIT 1, 1