How to change a value in a column on a SQLite database? -


i have sqlite database format:

table users     |     |---------name - text     |     |---------avatar - text     |     |---------password - text     |     |---------userdir - text     |     |---------role - numeric 

i want change number of role. how change it? (i mean, query?)

i'm using php if needs it. thanks!

update users set role=99 name='fred' 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -