A correct way to do it in moodle
I want the values moodle_user_info_data of a user.
fieldid = 51
data = red
How should I proceed ? Is not there a global like $ USER to get these values?
And if I want to change that value? Make an update ! "data = black"