You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WHERE NOT EXISTS (SELECT 1 FROM login_session WHERE id=sqlpage.cookie('session'));
SET group_id = (SELECT user_info.groupe FROM login_session join user_info on user_info.username=login_session.username WHERE id = sqlpage.cookie('session'));
-- Mettre à jour le référent modifié dans la base Référent
UPDATE referent SET nom_ens_ref=:nom, prenom_ens_ref=:prenom, tel_ens_ref=:tel, email=:courriel WHERE username=$user_edit and :nom is not null;
-- Mettre à jour l'AESH modifié dans la base AESH
UPDATE aesh SET aesh_name=:nom, aesh_firstname=:prenom, tel_aesh=:tel, courriel_aesh=:courriel WHERE username=$user_edit and :nom is not null;
-- Mettre à jour le compte modifié dans la base
UPDATE user_info SET nom=:nom, prenom=:prenom, tel=:tel, courriel=:courriel WHERE username=$user_edit and :nom is not null