SELECT 
    SUM(total)
FROM 
    panier
WHERE 
    idUser = 1