ok

Mini Shell

Direktori : /proc/self/root/home/keydecors/www/ca/admin/app/controller/
Upload File :
Current File : //proc/self/root/home/keydecors/www/ca/admin/app/controller/blog_upback.php

<?php
//include database configuration file
include("../model/dboperation.php");
$ids                   =   mysqli_real_escape_string($mysqli, $_POST['ids']); 
$title       		     = 	 mysqli_real_escape_string($mysqli , $_POST['title']);
$subject               =    mysqli_real_escape_string($mysqli , $_POST['subject']);
$body                  =    mysqli_real_escape_string($mysqli , $_POST['editor1']);


$sql               =   "UPDATE blog SET
title              =     '$title',
subject            =    '$subject',
details            =   '$body' WHERE ids='$ids'";  


	 
   if (!mysqli_query($mysqli,$sql)) {
  die('Error: ' . mysqli_error($mysqli));
}

header("location:../update_blog.php?pro=$ids");
?>

Zerion Mini Shell 1.0