Re: Last visitors (SOLVED?)

From: Date: Tue, 19 Apr 2005 14:03:32 +0000
Subject: Re: Last visitors (SOLVED?)
Groups: php.general 
Request: Send a blank email to php-general+get-213364@lists.php.net to get a copy of this message
Hey! I think I solved this: select 11 latest visitors count to see if it returned 11 records, if (count == 11){ get the oldest (of the 11) visitors time delete everything from that record and older than that } else{} Pros: max 2 queries If i am missing anything or you see any problem in my logic, please point it out. Thanks, 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

« previous php.general (#213364) next »