RE: [PHP-DB] Select Last row

From: Date: Thu, 21 Nov 2002 10:57:51 +0000
Subject: RE: [PHP-DB] Select Last row
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-23557@lists.php.net to get a copy of this message
Does 'select * from table order by id desc limit 1' do what you want? HTH Rich -----Original Message----- From: Afif [mailto:afif@sur.ogs-id.com] Sent: 21 November 2002 01:49 To: PHP DB Subject: [PHP-DB] Select Last row dear All, I have data and I want to get the last row of my table. how to select the last row, with the id is timestamp? and the the result will display in the prompt? sorry if my question is sound stupid, but I really confuse how to start this code -- Warm regards, Afif mailto:afif@sur.ogs-id.com

« previous php.db (#23557) next »