Server IP : 50.63.8.133 / Your IP : 216.73.216.53 Web Server : Microsoft-IIS/10.0 System : Windows NT P3NWVPWEB032 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : IWPD_10999(xformtec) ( 0) PHP Version : 5.4.45 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : G:/PleskVhosts/xform.in/madhurivivah.com/member/ |
Upload File : |
Current File : G:/PleskVhosts/xform.in/madhurivivah.com/member/edit-horoscope-information.php |
<?php
if (isset($_POST['update3'])) {
$gotra = $_POST['gotra'];
$devak = $_POST['devak'];
$gan = $_POST['gan'];
$naadi = $_POST['naadi'];
$nakashtra = $_POST['nakashtra'];
$charan = $_POST['charan'];
$raas = $_POST['raas'];
$birth_place = $_POST['birth_place'];
$birth_time = $_POST['birth_time'];
if (isset($_SESSION['member_profile_id']) && $_SESSION['member_profile_id'] != '') {
$sql1 = "UPDATE member_profile SET gotra='$gotra',
devak='$devak',
gan='$gan',
naadi='$naadi',
nakashtra='$nakashtra',
charan='$charan',
raas='$raas',
birth_place='$birth_place',
birth_time='$birth_time'
WHERE member_profile_id='" . $_SESSION['member_profile_id'] . "'";
if (mysqli_query($con, $sql1)) {
//echo "Records inserted successfully.";
{
echo "<script>
alert('Profile Updated Successfully..!!!');
</script>";
}
} else {
$ermsg = "Either Email ID or Password is Incorrect..!";
}
}
}
?>
<p> <?php echo htmlentities($ermsg); ?></p>
<table class="table table-bordered">
<tbody>
<tr>
<td> YOUR GOTRA(गोत्र ) :-
</td>
<td> <input class="form-control" name="gotra" type="text" value="<?php echo htmlentities($row['gotra']); ?>"></input> </td>
</tr>
<tr>
<td> YOUR GAN (गण) :-
</td>
<td><input class="form-control" name="gan" type="text" value="<?php echo htmlentities($row['gan']); ?>"></input></td>
</tr>
<tr>
<td>YOUR NAKSHATRA(नक्षत्र ) :-
</td>
<td><input class="form-control" name="nakashtra" type="text" value="<?php echo htmlentities($row['nakashtra']); ?>"></input></td>
</tr>
<tr>
<td>YOUR RASHI(रास ):-
</td>
<td><input class="form-control" name="raas" type="text" value="<?php echo htmlentities($row['raas']); ?>"></input></td>
</tr>
<tr>
<td> DEVAK (देवक):-
</td>
<td><input class="form-control" name="devak" type="text" value="<?php echo htmlentities($row['devak']); ?>"></input></td>
</tr>
<tr>
<td>NAADI (नाडी):-
</td>
<td><input class="form-control" name="naadi" type="text" value="<?php echo htmlentities($row['naadi']); ?>"></input>
</td>
</tr>
<tr>
<td>CHARAN (चरण):-
</td>
<td><input class="form-control" name="charan" type="text" value="<?php echo htmlentities($row['charan']); ?>"></input>
</td>
</tr>
<tr>
<td>BIRTH PLACE:-
</td>
<td><input class="form-control" name="birth_place" type="text" value="<?php echo htmlentities($row['birth_place']); ?>"></input>
</td>
</tr>
<tr>
<td>BIRTH TIME:-
</td>
<td><input class="form-control" name="birth_time" type="time" value="<?php echo htmlentities($row['birth_time']); ?>"></input>
</td>
</tr>
</tbody>
</table>
<div class="save-stngs pd2">
<ul>
<button class="btn btn-primary" name="update3" type="submit"><b>Update HOROSCOPE Information</b></button>
</ul>
</div>