Quote:
Originally Posted by kh99
Well, you said you wanted php code. If you just want the query it would be something like:
Code:
UPDATE user set displaygroupid=13 WHERE usergroupid=2 AND FIND_IN_SET(13, membergroupids)
...but if you have a table prefix, you'll have to add that before "user". (Try it first, if it doesn't work because of an unknown table, then you might need a prefix).
|
IT WORKS!!! Thank you very much!