There might be a better way, but you can always do:

Select * from table order by timestampfield desc limit 1


On the threshold of genius, Victor wrote:

> How can I use php to get the newest entry from  mysql database? Ie, if I
> make a timestamp and then I want to retrieve the last timestamp I made
> how do I go about doing it? Any php or mysql documentation?
> - Victor >
> ______________________________________________________________________
> Post your ad for free now!

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to