i wrote the program belowed
i really changed the user name but i can't change the picture field in the users table
what could the problem be?
by the way, i also use db_update. The situation is the same
the code is blowed
db_update('users') ->condition('uid',$account->uid) ->fields(array('picture'=>$file->fid)) ->execute();
still not work I hope somebody can help me,Thanks!