/home3/vehiclea/public_html/admin-suryasolarsystems-com/count_edit.php
<?php
include 'header.php';
include 'sidelinks.php';
include 'functions.php';
if(!empty($_POST['submit'])){
count_update();
}
if(!empty($_GET['edit'])){
$count_edit = count_edit($_GET['edit']);
$row = mysqli_fetch_array($count_edit);
}
?>
<div class="content-wrapper">
<div class="container-xxl flex-grow-1 container-p-y">
<h4 class="fw-bold py-3 mb-4">Count</h4>
<div class="row">
<!-- Basic Layout -->
<div class="col-xxl">
<div class="card mb-6">
<div class="card-header d-flex align-items-center justify-content-between">
<h5 class="mb-0">Form Inputs</h5>
<small class="text-muted float-end">Default label</small>
</div>
<div class="card-body">
<form method="post" enctype="multipart/form-data" onsubmit = "return validation()">
<div class="row mb-4">
<label class="col-sm-2 col-form-label" for="basic-default-message">Number</label>
<div class="col-sm-4">
<input type="text" name="cnt" value="<?= $row['cnt']?>" class="form-control" placeholder="Enter Your Count" aria-label="Hi, Do you have a moment to talk Joe?" aria-describedby="basic-icon-default-message2">
</div>
</div>
<div class="row mb-4">
<label class="col-sm-2 col-form-label" for="basic-default-name">Name</label>
<div class="col-sm-4">
<input type="text" class="form-control" name="name" id="name" value="<?= $row['name']?>" placeholder="Enter Name" />
</div>
</div>
<div class="row mb-4">
<label class="col-sm-2 col-form-label" for="basic-default-phone">Content</label>
<div class="col-sm-4">
<input type="text" id="content" name="content" value="<?= $row['content']?>" class="form-control phone-mask" placeholder="Enter Content" aria-label="658 799 8941" aria-describedby="basic-default-phone" />
</div>
</div>
<input type="hidden" name="edit_data" value="<?= $row['id']?>">
<div class="row justify-content-end">
<div class="col-sm-10">
<input type="submit" name="submit" class="btn btn-primary" value="Send">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<?php
include 'footer.php';
?>
@LwBee Strong Bypass
Upload File
Create New File