update option wordpress code example
Example: update query wordpress
global $wpdb;
$dbData = array();
$dbData['last_login_time'] = time();
$wpdb->update('table_name', $dbData, array('user_id' => 1));
global $wpdb;
$dbData = array();
$dbData['last_login_time'] = time();
$wpdb->update('table_name', $dbData, array('user_id' => 1));