Re: Retrieve The Last Record in a Table
| From: | Curt Zirzow | Date: | Tue, 27 Jul 2004 16:24:44 +0000 |
| Subject: | Re: Retrieve The Last Record in a Table | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191986@lists.php.net to get a copy of this message | ||
* Thus wrote Harlequin:
> I would like to retrieve the last entry in a login table and present that to
> a user so they can verify the date we have when they last logged in.
retrieving the last record is a lot of overhead, instead add a
'last logged in' field to the user table. retrieve the field the
field when they log in, save it in a session variable if you wish
to keep that value and update the table with a new last logged in
value.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!