| Path : /var/www/html/smartcirqls.com/admin/ |
| Current File : //var/www/html/smartcirqls.com/admin/delete.php |
<?php
include('include/session.php');
include('config/mysql_crud.php');
$table=$_POST['table'];
$id=$_POST['id'];
$db = new Database();
$db->connect();
$db->update($table,array('flag'=>"1"),'id="'.$id.'"'); // Table name, column names and values, WHERE conditions
?>