Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="container">
- <div class="row">
- <div class="col-lg-12">
- <h1 class="page-header"></h1>
- <h1 class="page-header">Profile</h1>
- <ol class="breadcrumb">
- <li><a href="index.php">Home</a></li>
- <li class="active">Edit Profile</li>
- </ol>
- </div>
- </div>
- <div class="row">
- <div class="col-md-4">
- <div class="form-group">
- <?php
- if (isset($error)) {
- foreach ($error as $error) {
- ?>
- <div class="alert alert-danger">
- <i class="glyphicons glyphicons-warning-sign"></i> <?php echo $error; ?>
- </div>
- <?php
- }
- }
- ?>
- </div>
- <form method="post" enctype="multipart/form-data">
- <div class="form-group">
- <label>Nama Lengkap:</label>
- <input type="text" name="nama" value="<?php echo $edit_row['nama']; ?>" class="form-control">
- </div>
- <div class="form-group">
- <label>Foto:</label>
- <p><img src="photo/<?php echo $edit_row['photo']; ?>" class="img-rounded" width="115px" height="115px"></p>
- <input type="file" name="photo" class="form-control" accept="image/*">
- </div>
- <div class="form-group">
- <button type="submit" name="btn-update" class="form-control btn btn-info">Simpan</button>
- </div>
- </form>
- </div>
- </div>
- </div>
- <br>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement