Anoter explaination of my problem
| From: | Matt Babineau | Date: | Thu, 25 Apr 2002 21:19:34 +0000 |
| Subject: | Anoter explaination of my problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13316@lists.php.net to get a copy of this message | ||
thread1 ----> updates and increments a numebr in the DB
thread2 ----> does the same thing as thread one
thread1 ----> reads the database to get the new value for display on the
web page
thread2 ----> also reads the database for the new updated value.
so thread1 displays "2" and thread2 displays "2" also because thread1
could not read the database value before thread2 updated the value.
Matt Babineau
Freelance Internet Developer
e: <mailto:mbabineau@illuminatistudios.com>
mbabineau@illuminatistudios.com
p: 603.943.4237
w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com