Home › Forums › Back End › Check if user exists › Reply To: Check if user exists
May 4, 2014 at 8:09 pm
#169211
chrisburton
Participant
@traq Actually, I forgot the syntax but looked at some old code of mine and remembered how to do it which is close to what you have.
My code:
db::update('users', array($user['name']=>'name',$user['image']=>'image',$user['link']=>'link'), array('uid' => $user['uid']));
Edit: Oops do I have it backwards?