Figurine
07-29-2008, 07:30 PM
Hi there!
My problem:
I can't exactly figure out how to display only the 2 newest rows of a table. I am using a mysql database and everything works as it should.
It works fine to do the SELECT * FROM...but what if I only what the latest two rows to be displayed?
I am working on a news column that should have an extract on the front page which is where I stop as I cannot seem to get this to work.
Any ideas?
best,
Figurine
My problem:
I can't exactly figure out how to display only the 2 newest rows of a table. I am using a mysql database and everything works as it should.
It works fine to do the SELECT * FROM...but what if I only what the latest two rows to be displayed?
I am working on a news column that should have an extract on the front page which is where I stop as I cannot seem to get this to work.
Any ideas?
best,
Figurine