ok

Mini Shell

Direktori : /proc/self/root/proc/self/root/home/keydecors/public_html/admin/controller/
Upload File :
Current File : //proc/self/root/proc/self/root/home/keydecors/public_html/admin/controller/service_update.php

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

$sql		    =	"UPDATE service SET
details	    =	  '$details' WHERE id='$ids'"; 
	

   if (!mysqli_query($mysqli,$sql)) {
  die('Error: ' . mysqli_error($mysqli));
}
   header("location:../pages/service.php?pro=$ids");
   
   

Zerion Mini Shell 1.0