?

áEÓê¤ÎïLwebshll2019

Current Path : /home/webyoo/www/backup/allback/docteur-site/cv/sym/a/hanessiim/site/admin/
Upload File :
Current File : /home/webyoo/www/backup/allback/docteur-site/cv/sym/a/hanessiim/site/admin/updateRow.php

<?php
header('Content-Type: application/json');
include "start.php";

$rowData = $_POST;

// Assuming you have the necessary data to identify the row and columns
$id = $rowData['ID']; // Replace with the actual ID column
unset($rowData['ID']); // Remove the ID from the data to be updated

// Construct the SQL update statement
$setClause = [];
foreach ($rowData as $column => $value) {
    $setClause[] = "$column = '" . ($value) . "'";
}

$setClause = implode(', ', $setClause);
$sql = "UPDATE syna_members SET $setClause WHERE ID = '$id'";
$sqlusers = mysqli_query($link,$sql);

echo json_encode(['success' => true]);

?>



web shell, Coded By 2019