Quote:
Originally posted by hyper
how do i call the last 5 entries from a database based on field?
|
do your records have an id or a datestamp if they do
that should be basically it.
PHP Code:
select requiredfields from tablename order by idfield desc limit 5