Just a sugestion here, that may sound strange, but I'd do it like
this:
Why don't you keep a simle text-counter file for each user? Why this
HAVE to go trough SQL?
Just creat a text file with 0 on it. When the user posts, retrieve
the number from the file, increment it and then write it back...
On Fri, Jul 20, 2001 at 11:52:36AM +, Er Galvão Abbott wrote:
Just a sugestion here, that may sound strange, but I'd do it like
this:
Why don't you keep a simle text-counter file for each user? Why this
HAVE to go trough SQL?
i suppose i want it to go through SQL because I am storing
: Friday, July 20, 2001 8:02 AM
Subject: Re: [PHP] Re: (another, not entirely)sessions question
On Fri, Jul 20, 2001 at 11:52:36AM +, Er Galvão Abbott wrote:
Just a sugestion here, that may sound strange, but I'd do it like
this:
Why don't you keep a simle text-counter file for each user
On 20-Jul-2001 Er Galvão Abbott wrote:
Just a sugestion here, that may sound strange, but I'd do it like
this:
Why don't you keep a simle text-counter file for each user? Why this
HAVE to go trough SQL?
Just creat a text file with 0 on it. When the user posts, retrieve
the number from
Hi Don!
On Fri, 20 Jul 2001, Don Read wrote:
On 20-Jul-2001 Er Galv?o Abbott wrote:
Just a sugestion here, that may sound strange, but I'd do it like
this:
Why don't you keep a simle text-counter file for each user? Why this
HAVE to go trough SQL?
Just creat a text file with 0
On 20-Jul-2001 [EMAIL PROTECTED] wrote:
Hi Don!
On Fri, 20 Jul 2001, Don Read wrote:
snip
Because the database is optimized for this kind of stuff ?
Once you get the db handle (and you have. you've authenticated right ?),
SELECT count(*) from msgposts where user_id=$foo is likely be
6 matches
Mail list logo