Yep, love those race conditions. We have them all over the app cuz the
app ciders don't know shit!
Sent from my iPod
On Feb 2, 2010, at 5:46 PM, Ashley Sheridan <a...@ashleysheridan.co.uk>
On Tue, 2010-02-02 at 23:19 +0100, Rene Veerman wrote:
function getMax($table, $field)
If I saw this sort of code I'd be appalled! It's possibly the worst
to get the auto increment value. You won't notice it testing the site
out on your own, but all hell will break loose when you start
lot of hits, and two people cause an auto increment at the same time!
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php