Sindbad~EG File Manager
<?php
ob_start();
include "baglan.php";
$id = $_GET["s"];
$must = $_POST["must"];
$namesurname = $_POST["namesurname"];
$company = $_POST["company"];
$comment = $_POST["comment"];
$stmt = $db->prepare("UPDATE comments SET must = :must, namesurname = :namesurname, company = :company, comment = :comment WHERE id = :id");
$stmt->bindParam(':must', $must, PDO::PARAM_STR);
$stmt->bindParam(':namesurname', $namesurname, PDO::PARAM_STR);
$stmt->bindParam(':company', $company, PDO::PARAM_STR);
$stmt->bindParam(':comment', $comment, PDO::PARAM_STR);
$stmt->bindParam(':id', $id, PDO::PARAM_STR);
$stmt->execute();
header("Location: ".$_SERVER['HTTP_REFERER']."");
?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists