I see your point, and I'd really like to use Limit in the query. However,
what if I want to sort those 5 last records by another field? They're already
sorted DESC, so I can't do that.
Kevin Stone wrote:
> - Original Message -
> From: "drparker" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECT
- Original Message -
From: "drparker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 2:42 PM
Subject: [PHP] retrieve last n records
> I need to retrieve the last n records of a table, n will probably be 2
> or 3. I know that I can accomplish this by: select *
2 matches
Mail list logo