<?php
require_once '../../../config.php';

$id = $_GET['id'];
if(!isset($id))
    die('No direct script access allowed!');
$query = mysqli_query($db, "SELECT * FROM layanan_pulsa WHERE id = '$id'");
$q = mysqli_fetch_assoc($query); 
?>

<form method="POST">
<div class="row">
      <div class="col-12 mt-2">
            <blockquote class="blockquote pl-1 border-left-primary border-left-3">
                <p class="mb-0">Apakah anda yakin untuk menghapus layanan ini?</p>
                <hr>
   <div class="form-group">
        <label>ID</label>
        <input type="text" class="form-control" name="id" value="<?= $q['id']; ?>" Readonly>
    </div>
        <div class="form-group">
        <label>Layanan</label>
        <input type="text" class="form-control" value="<?= $q['layanan']; ?>" Readonly>
    </div>
    <div class="form-group">
        <label>Provider</label>
        <input type="text" class="form-control" value="<?= $q['provider']; ?>" Readonly>
    </div>
           </blockquote>    
        </div>

<div class="text-right">
            <button type="submit" name="delete" class="btn btn-block btn-danger">DELETE</button>
        </div>
        </div>
        </form>
        
