jonny5
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by jonny5
-
-
I can't seem to find any good documented stuff about this:
When a user calls a php page, and another user calls the same
can this result in database inconsistency?
which part of query's are executed atomically:
none?
just 1 query?
1 php page?
please help me on this one?
thanks!!!
Jonny
;)
PHP MYSQL page requests
in MySQL Help
Posted
and what about this:
<?php
//call query to add 1 to some field
//call query to substract 1 to same field
?>
User 1 requests
User 2 requests
can this happen:
u1 add
u2 add
u1 sub
u2sub
or
u1 add
u2 add
u2sub
u1 sub
this can cause inconsistance if you are not using increment or decrement but getting values, changing them and then putting them
so are those queries in 1 php page 1 thing? cause i'm still not getting that part :)
thanks!