1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
$updateAcc = NEW mysqli_phpCMS();
$updateAcc->stdQuery("UPDATE profil_user P LEFT OUTER JOIN user U "
."ON P.id_user=U.id_user"
." SET P.last_name_profil = '". $_POST['last_name'] ."',"
." P.firstname_profil = '". $_POST['first_name'] ."',"
." P.birth_day_profil = '". $_POST['birthDay'] ."',"
." P.birth_month_profil = '". $_POST['birthMonth'] ."',"
." P.birth_year_profil = '". $_POST['birthYear'] ."',"
." P.icq_profil = '". $_POST['icq'] ."',"
." P.msn_profil = '". $_POST['msn'] ."',"
." P.yahoo_profil = '". $_POST['yahoo'] ."',"
." P.aim_profil = '". $_POST['aim'] ."',"
." P.sign_profil = '". $_POST['sign'] ."',"
." P.animal_profil = '". $_POST['animal'] ."',"
." P.passions_profil = '". $_POST['passions'] ."',"
." P.fantasmes_profil = '". $_POST['fantasmes'] ."',"
." P.musiques_profil = '". $_POST['musiques'] ."',"
." P.cuisine_profil = '". $_POST['cuisine'] ."',"
." P.comptage_profil = '". $_POST['comptage'] ."',"
." P.philo_profil = '". $_POST['philo'] ."',"
." P.msg_perso_profil = '". $_POST['msg_perso'] ."',"
." U.mail_user = '". $_POST['mail'] ."', "
." U.dep_user = '". $_POST['dep'] ."', "
." U.ville_user = '". $_POST['ville'] ."'"
." WHERE U.id_user='".$_SESSION['id_user']."'"); |
Partager