$temp_id_personne, 'message' => $result_sql[0]['contenu'], 'vu' => ($result_sql[0]['ID_personne'] == $_SESSION['ID'] ? 1 : $result_sql[0]['vu']), 'date' => $result_sql[0]['date_envoi'] ); //Rajout de la condition SQL $supp_sql .= "AND ID_destination != ".$temp_id_personne." AND ID_personne != ".$temp_id_personne." "; } ?>