ok
Direktori : /home2/selectio/www/subamangala/admin/ |
Current File : /home2/selectio/www/subamangala/admin/clear_rasi.php |
<?php include "config.php"; if(isset($_GET['rasi'])) { $rasi=$_GET['rasi']; $sql = "update rasi set laknam='',rasi1='',rasi2='',rasi3='',rasi4='',rasi5='',rasi6='',rasi7='', rasi8='',rasi9='',rasi10='',rasi11='',rasi12='' where id='$rasi'"; mysqli_query($con,$sql) or die("rerr"); $id=$_GET['id']; $url='editprofile.php?id='.$id; //$url='profile_list.php'; echo '<script language="javascript">alert("Clear");location.href=\'' . $url . '\'</script>'; } if(isset($_GET['nav'])) { $nav=$_GET['nav']; $sql = "update nav set laknam='',nav1='',nav2='',nav3='',nav4='',nav5='',nav6='',nav7='', nav8='',nav9='',nav10='',nav11='',nav12='' where id='$nav'"; mysqli_query($con,$sql) or die("nerr"); $id=$_GET['id']; $url='editprofile.php?id='.$id; //$url='profile_list.php'; echo '<script language="javascript">alert("Clear");location.href=\'' . $url . '\'</script>'; } if(isset($_GET['photo'])) { $nav=$_GET['photo']; $sql = "update profiles set photo='' where id='$nav'"; mysqli_query($con,$sql) or die("nerr"); $id=$_GET['photo']; $url='editprofile.php?id='.$id; //$url='profile_list.php'; echo '<script language="javascript">alert("Removed");location.href=\'' . $url . '\'</script>'; } ?>