Skip to content

Instantly share code, notes, and snippets.

@phawk
Created March 29, 2011 09:17
Show Gist options
  • Save phawk/892064 to your computer and use it in GitHub Desktop.
Save phawk/892064 to your computer and use it in GitHub Desktop.
public function add_facebook( $id, $fb_access_token )
{
$data = array('fb_access_token' => $fb_access_token);
$this->db->where('id', $id);
if( $this->db->update( $this->db_table, $data ) )
{
return TRUE;
}
else
{
return FALSE;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment