ok

Mini Shell

Direktori : /home/keydecors/www/admin/controller/
Upload File :
Current File : /home/keydecors/www/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