Jump to content


Photo

Mysql


  • Please log in to reply
1 reply to this topic

#1 prospect

prospect
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 17 August 2006 - 07:01 AM

Hey guys , how could I display results or sort results but latest added only the latest added entry ?

thanks alot in advance

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 17 August 2006 - 07:07 AM

You'll need a timestamp field, then a query something like...

SELECT * FROM tbl ORDER BY stamp DESC





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users