View Single Post
Old 06-21-2002, 06:26 PM  
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
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 
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote