Login | Register | FAQ
Anonymous

update record

+ Post a reply

5 posts Page 1 of 1


update record

by muratsal » Tue Nov 20, 2012 9:41 am

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 .
User avatar

muratsal

  • Posts: 47
  • Joined: Wed Oct 17, 2012 12:51 pm
--
my map applications http://haritaaraci.com/

Re: update record

by XainPro » Wed Nov 21, 2012 4:35 am

please explain further with your query and code i do not understand what you are talking about.
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: update record

by muratsal » Wed Nov 21, 2012 9:34 am

code about joinin online game
1 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 :)
User avatar

muratsal

  • Posts: 47
  • Joined: Wed Oct 17, 2012 12:51 pm
--
my map applications http://haritaaraci.com/

Re: update record

by XainPro » Sat Nov 24, 2012 7:22 am

sorry did not understand :(
show your code what you really want ?
is your problem related with code or database ?
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: update record

by ashu4lov » Sat Dec 19, 2015 6:43 pm

Ask your Full Query With code here.
https://indiadesire.com
User avatar

ashu4lov

  • Posts: 1
  • Joined: Sat Dec 19, 2015 6:37 pm


+ Post a reply

Page 1 of 1