> Really? That sounds more complicated than I think I need it to be, can't
> I use something like:
>
> '<a href="'.$PHP_SELF.'?add_form='.$value.'">'
>
> and somehow (this is what I need to know) get $value to increase in
> value as the user clicks on the link again and again...

Nope, you would be fighting race conditions forever with an approach like
that.  You need an atomic way to increment a counter.  The best way to do
that is to use the builtin atomicity of a database engine.

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to