Posted by Siv Hansen on 10/30/05 20:23
Colin Roosendaal wrote:
> Hello,
>
> Can someone tell me how to do the following:
>
> I'm looking for the PHP/MySQL query to get the last 5 added records from my
> database.
>
> For your info
>
> DB name: news
> table name: messages
select whatever_you_want_to_find from messages limit 5;
>
> I hope you can help me.
>
> Thanks,
>
> Colin Roosendaal
>
>
[Back to original message]
|