GOOGLE
<?php include("header.php");
$id = $_GET['id'];
$imageNames = $_GET['imageName'];
$imageNames1 = $_GET['imageName1'];
$imageNames2 = $_GET['imageName2'];
$pdf = $_GET['pdf'];
if($imageNames)
{
$update = mysql_query("UPDATE `infrastructure_pages` SET `image`='' WHERE `image`='".$imageNames."'");
//header("Location:add_about.php?id=".$id.""); ?>
<script>
window.location.href='add_Infrastructure.php?id=<?php echo $id; ?>';
</script>
<?php
}
elseif($imageNames1)
{
$update = mysql_query("UPDATE `infrastructure_pages` SET `image1`='' WHERE `image1`='".$imageNames1."'");
//header("Location:add_about.php?id=".$id."");
?>
<script>
window.location.href='add_Infrastructure.php?id=<?php echo $id; ?>';
</script>
<?php
}
elseif($imageNames2)
{
$update = mysql_query("UPDATE `infrastructure_pages` SET `image2`='' WHERE `image2`='".$imageNames2."'");
header("Location:add_Infrastructure.php?id=".$id."");
?>
<script>
window.location.href='add_Infrastructure.php?id=<?php echo $id; ?>';
</script>
<?php
}
elseif($pdf)
{
$update = mysql_query("UPDATE `infrastructure_pages` SET `pdf`='' WHERE `pdf`='".$pdf."'");
header("Location:add_Infrastructure.php?id=".$id."");
?>
<script>
window.location.href='add_Infrastructure.php?id=<?php echo $id; ?>';
</script>
<?php
}else{
?>
<script>
window.location.href='add_Infrastructure.php?id=<?php echo $id; ?>';
</script>
<?php
}
?>
Copyright © 1945 -