I have a news script. This script works like the following:
I need to display the latest 4 news only, not all news entries. How can I do this?
Make your query like this:
SELECT * FROM news ORDER BY news_id DESC LIMIT 4
where news_id
is the primary key of your news table.