[ale] [OT] need help with 2php SOLUTION

Robert Coggins ale at cogginsnet.com
Fri Apr 11 15:17:44 EDT 2003


I agree I have not seen hardly anything from this pseudo I have no clue what
is going on.

-Rob


----- Original Message -----
From: "George Carless" <kafka at antichri.st>
To: ale at ale.org
To: <ale at ale.org>
Sent: Friday, April 11, 2003 3:06 PM
Subject: Re: [ale] [OT] need help with 2php SOLUTION


> Drew,
>
> You're not making things any clearer, for me at least.  Since you've
> written this in PHP (as I understand it), why not post the PHP?
>
> > No. You misunderstand. The data changes.
>
> > query data (value=1)
> > function adds 1 (+1) or subtracts 1 (-1) and updates the database
>
> Adds or subtracts 1 to what?  To the data in the database?
>
> > query data (because the new value equals 0 or 2)
>
> But if you have already queried the database for the value, before
> updating it, then why would you need to re-query the database?  (Unless to
> check that no other user/code/whatever had itself updated the database in
> the meantime - but then, you're locking your tables, right?)
>
> > I am wondering if there is a good use for this "law."
>
> I've no idea what 'law' you're referring to, I'm afraid.
>
> --George
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list