Posts: 1,246
Threads: 95
Joined: May 2010
2010-08-31, 09:18 AM
I want to run a query to set every user to a specific option of a custom field.
Ive added a "What mybb version are you using" custom field.
Options:
N/A
1.4
1.5
1.6
et......
I want to set every user to N/A if they hav'nt selected an option, any ideas?
Posts: 1,246
Threads: 95
Joined: May 2010
2010-08-31, 09:59 AM
Hmmm , it didnt effect any rows "Affected rows: 0 (Query took 0.0004 sec)"
Posts: 1,246
Threads: 95
Joined: May 2010
2010-08-31, 10:48 AM
Yea there empty, heres a link to a random user :
http://www.mybbextras.com/member.php?act...ile&uid=45
You'll see that the "Select your mybb version" field is empty
Posts: 1,246
Threads: 95
Joined: May 2010
2010-09-01, 09:15 PM
(This post was last modified: 2010-09-01, 09:30 PM by Janota.)
Any ideas why this query is not working ?
So annoying , works for fid3 but not for fid4
Posts: 1,246
Threads: 95
Joined: May 2010
2010-09-02, 09:04 AM
(This post was last modified: 2010-09-02, 09:06 AM by Janota.)
Ok ive noticed something , it say NULL beside ID4
Yea that was the problem , got it now , thanks tim