Jump to content
php.lv forumi

change value


lejka

Recommended Posts

vai kāds varētu izstāstīt kā var nomainit datubāzē kkadu noteiktu vertibu uz kādu citu

respektīvi man ir dstubāze kurā ir viena no tabulām countries katram country ir sava skaitliska vertiba (piem. LV ir 1)

Bet man ir kadi 100 lietotaji kuri valsti nav noradijusi (es pats nosakuma nepiedavaju tadu iespeju tapec) tadel viniem pie valsts radaas vertiba 0 - nav valsts.

 

es vēlos nomainit visiem tiem lietotjaiem to vertibu no 0 uz 1, ka to var izdarit neiaiztiekot parejos lietotajaus (tos kuriem vertiba ir 1 vai piem 455)

paldies jau iepriekš ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...