ok

Mini Shell

Direktori : /home/importfo/www/theglobeinternational.com/admin/
Upload File :
Current File : /home/importfo/www/theglobeinternational.com/admin/updatestatus.php

<?php
include "config.php";

$userid = $_POST['userid'];

$sql ="SELECT * FROM `parts` WHERE p_id=".$userid;
$result = mysqli_query($db,$sql);
$row=mysqli_fetch_array($result);
?>

<div class="row">
	<div class="col-md-12">
		 <div class="row">
          <div class="col-md-6">
            
            <!-- form user info -->
            <div class="card card-outline-secondary">
             
              <div class="card-body">
                <form  class="form" method="post" action="addstatus.php">
                	
                  <div class="form-group row">
                    <input type="hidden" name="p_id"  value="<?php echo $row['p_id'] ?>">
                    <div class="col-lg-12">
                       	<label class="col-lg-12 col-form-label form-control-label">Status</label>
                      	<input class="form-control" type="text" value="<?php echo $row['status'] ?>" name="status" placeholder="Enter Name" required="">
                        <span>[ 1-10 Top product ]</span>
                    </div>
                  </div>
                  
                  <div class="form-group row">
                    
                    <div class="col-lg-9">
                    
					           <input class="btn pro-button-top" style="margin-top: 12px;" type="submit" name="submit" value="Submit">
                    </div>
                  </div>
                </form>
              </div>
            </div><!-- /form user info -->
          </div>
         
       </div>
		


	</div>
</div>






Zerion Mini Shell 1.0