Listing Items From A Database
| From: | Phillip S. Baker | Date: | Thu, 06 Jul 2000 15:12:45 +0000 |
| Subject: | Listing Items From A Database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-5226@lists.php.net to get a copy of this message | ||
Greetings Gents,
Right now I have a page that pulls records from a database. I am using a while statement for this. As I am just generating a simple list.
However on a particular page I only want listed the latest 5 items from this field in the database.
How would I go about doing that?
If I need to do it with sql I am using MySQL.
Thanks
Phillip