update record
4 posts Page 1 of 1
update record
i wanto update record but firstly i should control what the state . So first select and update but maybe other user change the value of record.How to guarentee that my update is valid .
example if colum value is null set your id but when you send select query other user can set value and ı set over it .
--
my map applications http://haritaaraci.com/
my map applications http://haritaaraci.com/
Re: update record
please explain further with your query and code i do not understand what you are talking about.Re: update record
code about joinin online game1 game creator and 1 rival
when user create game
gameid,gamename,...,rivalId,state,.. there is table like this.
i control if rivalId is null createor vait for rival if anyuserId game start
but problem is when a user wanto join a game, user control if rivalId null if it is null user set itself id .
problem when select this record maybe any ather uset set him/her userid,
understand ? sorry for bad english :)
--
my map applications http://haritaaraci.com/
my map applications http://haritaaraci.com/
Re: update record
sorry did not understand :(show your code what you really want ?
is your problem related with code or database ?
Page 1 of 1