Display last 20 record
Posted: Mon May 31, 2004 7:46 am
how to display last 20 record in php?
can u show me the mysql query?
can u show me the mysql query?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
SELECT * FROM table ORDER BY id DESC LIMIT 20Code: Select all
select TOP 20 from table ...Code: Select all
select * from table LIMIT 20Code: Select all
select * from table LIMIT 10, 20