get all records but limit to 6

From: Date: Mon, 14 Jun 2004 06:20:10 +0000
Subject: get all records but limit to 6
Groups: php.db 
Request: Send a blank email to php-db+get-34770@lists.php.net to get a copy of this message
hi, i need to get only the first 6 records sorted by datetime from the thousands of records in existance. how do i do that ? thus, only the latest 6 records added to the database should be displayed and this can be done with the datetime field in the database. can anyone help with the php code please ? regards, gawie.

« previous php.db (#34770) next »