Server IP : 50.63.8.133 / Your IP : 52.14.80.39 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-education-information.php |
<?php
if (isset($_POST['update1'])) {
$education = $_POST['education'];
$hobbies = $_POST['hobbies'];
$income = $_POST['income'];
$job_work = $_POST['job_work'];
if (isset($_SESSION['member_profile_id']) && $_SESSION['member_profile_id'] != '') {
$sql1 = "UPDATE member_profile SET education='$education',
hobbies='$hobbies',
income='$income',
job_work='$job_work'
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 EDUCATION :-
</td>
<td> <input class="form-control" name="education" type="text" value="<?php echo htmlentities($row['education']); ?>"></input> </td>
</tr>
<tr>
<td>JOB / BUSINESS :-
</td>
<td><input class="form-control" name="job_work" type="text" value="<?php echo htmlentities($row['job_work']); ?>"></input></td>
</tr>
<tr>
<td>ANNUAL INCOME :-
</td>
<td><input class="form-control" name="income" type="text" value="<?php echo htmlentities($row['income']); ?>"></input></td>
</tr>
<tr>
<td>YOUR HOBBIES:-
</td>
<td><input class="form-control" name="hobbies" type="text" value="<?php echo htmlentities($row['hobbies']); ?>"></input></td>
</tr>
</tbody>
</table>
<div class="save-stngs pd2">
<ul>
<button class="btn btn-primary" name="update1" type="submit"><b>Update Education Information</b></button>
</ul>
</div>