In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I am using PHP with MySQL and have a timestamp field in my db table. What > would be the easiest way to get the newest timestamp out of the db? > > Thanks in Advance > Steve
Use an ORDER BY on the timestamp field in your select statement, and use LIMIT to restrict the number of rows you retrieve (if you want a subset of rows). -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php