php - MySQL query with boolean involved -


i wanna db, have table includes row called online, 0 , 1 "atributes". now, want update users ranks when online. tried update users set rank = "2" 'online' = true didn't work. tried update users set rank = "2" 'online' = 1 didn't work either.

any answers?


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -