I am building a notes system on my site and I\'ve got to the stage where users can post notes into the MySQL database using PHP and then PHP prints them out on a page. Howev
use:
SELECT * FROM notes WHERE note_author_id='$u_id' ORDER BY date_time DESC LIMIT 10
DESC : descending order ( from newest to oldest ) LIMIT 10: first 10 records found.