login session insert into user_variable (user_variable_user_id, user_variable_variable_id, user_variable_value) select user_info.user_id as `user_variable_user_id`, variable_info.variable_id as `user_variable_variable_id`, as `user_variable_value` from (select * from user where user.user_login = ) as user_info left join user_variable on user_info.user_id=user_variable.user_variable_user_id join (select * from variable where variable.variable_name=) as variable_info on variable_info.variable_id=user_variable.user_variable_variable_id on duplicate key update user_variable_value =
Update succesful The update has been successful. Click here to proceed .