/home/kkco/public_html/home__2939f42/admin/page/profil_edit.php
<?php
$sqlView=mysql_query("select * from settings where id='".$_GET['id']."'");
$data=mysql_fetch_array($sqlView);
?>
<div class="panel panel-default">
<div class="panel-heading">
<font size="+2">Edit Alamat</font>
</div>
<div class="panel-body">

<?php



if (isset($_POST['simpan']))
{
$sqlSimpan=mysql_query("update settings set value='".$_POST['html']."' where id='".$_POST['id']."' ");

if ($sqlSimpan)
{
echo "<div class=\"alert alert-success\"><i class=\"fa fa-check-square\"></i> Alamat berhasil disimpan!! <a href=\"index.php?page=profil\" class=\"btn btn-info btn-sm\">Lanjutkan</a></div>";	
}


}
else {
?>
<form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data">
<input type="hidden" name="id" value="<?php echo $_GET['id']; ?>">

<b>Alamat</b>
<textarea name="html" required class="form-control"><?php echo $data['value']; ?></textarea>
<br>



<input type="submit" name="simpan" value="Simpan" class="btn btn-primary btn-block no_radius">
</form>
<?php } ?>


</div>


</div>