%PDF- %PDF-
Direktori : /home/alliance/domains/sedl.alnetis.fr/public_html/ |
Current File : /home/alliance/domains/sedl.alnetis.fr/public_html/a-forum-suppr-comment.php |
<?php include_once("inc/config.php"); include_once("inc/functions.php"); include_once("inc/session.php"); include_once("inc/init.php"); verif_co(); verif_get($_POST['post']); verif_get($_POST['comment']); $fo = new Forum(); // LISTE DES REPONSES S'IL Y A ET DEL $liste_reponses = $fo->liste_comments($_POST['post'], $_POST['comment']); if($liste_reponses) { foreach($liste_reponses as $key => $reponse) { $db->delete("forum_comment", "id = ".$reponse['id']); } } $db->delete("forum_comment", "id = ".$_POST['comment']); ?>