'".$user_encours."'"; $res = mysql_query($requete, $dbh); if ($res) { $requete = "DELETE FROM sessions WHERE login='".$username_del."'"; $res = mysql_query($requete, $dbh); $requete = "DELETE FROM es_methods_users WHERE num_user=$id "; $res = mysql_query($requete, $dbh); } $requete = "OPTIMIZE TABLE users "; $res = mysql_query($requete, $dbh); } show_users($dbh);