prepare("SELECT * FROM projects WHERE pid = $myid ");
$st->execute();
$info = $st->Fetch();
?>
prepare("UPDATE
projects
SET
img1 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img1));
if (file_exists($path1)) {@unlink("images/uploads/projects/$delimg1");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img2 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img2));
if (file_exists($path2)) {@unlink("images/uploads/projects/$delimg2");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img3 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img3));
if (file_exists($path3)) {@unlink("images/uploads/projects/$delimg3");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img4 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img4));
if (file_exists($path4)) {@unlink("images/uploads/projects/$delimg4");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img5 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img5));
if (file_exists($path5)) {@unlink("images/uploads/projects/$delimg5");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img6 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img6));
if (file_exists($path6)) {@unlink("images/uploads/projects/$delimg6");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img7 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img7));
if (file_exists($path7)) {@unlink("images/uploads/projects/$delimg7");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img8 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img8));
if (file_exists($path8)) {@unlink("images/uploads/projects/$delimg8");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img9 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img9));
if (file_exists($path9)) {@unlink("images/uploads/projects/$delimg9");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img10 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img10));
if (file_exists($path10)) {@unlink("images/uploads/projects/$delimg10");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img1 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img1));
if (file_exists($path1)) {@unlink("images/uploads/projects/$delimg1");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img2 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img2));
if (file_exists($path2)) {@unlink("images/uploads/projects/$delimg2");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img3 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img3));
if (file_exists($path3)) {@unlink("images/uploads/projects/$delimg3");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img4 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img4));
if (file_exists($path4)) {@unlink("images/uploads/projects/$delimg4");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img5 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img5));
if (file_exists($path5)) {@unlink("images/uploads/projects/$delimg5");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img6 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img6));
if (file_exists($path6)) {@unlink("images/uploads/projects/$delimg6");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img7 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img7));
if (file_exists($path7)) {@unlink("images/uploads/projects/$delimg7");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img8 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img8));
if (file_exists($path8)) {@unlink("images/uploads/projects/$delimg8");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img9 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img9));
if (file_exists($path9)) {@unlink("images/uploads/projects/$delimg9");}
header('location:projects.php?edpr');
exit();
?>
prepare("UPDATE
projects
SET
img10 = ?
WHERE
pid = $prid
");
$stmt->execute(array($img10));
if (file_exists($path10)) {@unlink("images/uploads/projects/$delimg10");}
header('location:projects.php?edpr');
exit();
?>