diff options
Diffstat (limited to 'admin/newsreel/updateDB.php')
-rw-r--r-- | admin/newsreel/updateDB.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/newsreel/updateDB.php b/admin/newsreel/updateDB.php index 904e578..f4031a2 100644 --- a/admin/newsreel/updateDB.php +++ b/admin/newsreel/updateDB.php @@ -3,7 +3,7 @@ include '../../includes/debug.php';
include '../../includes/config.php';
include '../../includes/sql.class.php';
-include '../functions.php';
+include '../../includes/functions.php';
$action = $_POST['action'];
$updateRecordsArray = $_POST['recordsArray'];
@@ -22,7 +22,6 @@ if ($action == "updateReelOrder"){ foreach ($updateRecordsArray as $recordIDValue) {
$db->Query("UPDATE `bayonet_newsreel` SET `weight` = '$listingCounter' WHERE `slide_id` = '$recordIDValue'");
- //mysql_query($query) or die('Error, insert query failed');
$listingCounter = $listingCounter + 1;
}
echo "<img src=\"images/accepted.png\" />";
|