RE: [PHP] Last visitors
| From: | Ryan A | Date: | Tue, 19 Apr 2005 13:46:31 +0000 |
| Subject: | RE: [PHP] Last visitors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-213358@lists.php.net to get a copy of this message | ||
Hey,
> Couple of options: a CRON job/scheduled job which invokes a SQL command
> deleting all but the 10 most recent records,
**I dont think this would be very effective, as there might be thousands of
profiles and each gets their last 10 visitors, some would be more popular
than others
>or do the same every time you insert a record.
**I think this is the better option.....
correct me if I am wrong though...I'm learning from this.
Cheers,
Ryan
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 4/18/2005