1global $wpdb;
2$dbData = array();
3$dbData['last_login_time'] = time();
4
5$wpdb->update('table_name', $dbData, array('user_id' => 1));
1$execut= $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_nicename = %d WHERE ID = %s", "Harde_Bande", 546 ) );
2var_dump($execut);
3