Skip to content
Permalink
Browse files

Update deletenews.php

  • Loading branch information...
directman66 committed Jan 28, 2019
1 parent 249067d commit 7045da7f70cf35d28d0d63e290cd8d81274ed717
Showing with 11 additions and 6 deletions.
  1. +11 −6 modules/mercury/deletenews.php
@@ -2,13 +2,13 @@
chdir(dirname(__FILE__) . '/../..');
include_once("./config.php");
include_once("./lib/loader.php");
include_once("./modules/application.class.php");
include_once("./load_settings.php");
//include_once("./lib/loader.php");
//include_once("./modules/application.class.php");
//include_once("./load_settings.php");
//debmes('Удаление новости '.$_POST['id'], 'mercury');
debmes('Удаление новости '.$_GET['id'], 'mercury');
//debmes('Удаление новости '.$_GET['id'], 'mercury');
@@ -17,9 +17,14 @@
if(isset($_GET['id']))
{
//$sql="delete from mercury_news where id=".$_GET['id'];
//debmes($sql, 'mercury');
//SQLExec($sql);
$sql="delete from mercury_news where id=".$_GET['id'];
debmes($sql, 'mercury');
SQLExec($sql);
$mysqli= mysqli_query($link,$sql);
}

0 comments on commit 7045da7

Please sign in to comment.
You can’t perform that action at this time.