kohjhjhصثقصثقصثقgdfgdg
Ele57885fddfgdfgfghgقفغفغفقhfg555434536
/
home
/
u402332945
/
domains
/
simmar.co.in
/
public_html
/
Admin-Panel
/
Upload FileeE
HOME
<?php include 'db.php'; $firstname = mysqli_real_escape_string($db, $_POST['name']); $query ="SELECT * FROM p13 WHERE name= '$firstname'"; $results = $db->query($query); ?> <?php $i = 1; while($rs=$results->fetch_assoc()) { if ($i==1) { ?> <div id="re<?php echo $rs["id"]; ?>"> <div style="width:500px;"> <div class="form-group"> <label>Rate</label> <input name="rate[]" type="text" class="form-control" value="<?php echo $rs["name4"]; ?>" id="rate" placeholder="Enter Rate"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Rate Description</label> <input name="ratedes[]" type="text" class="form-control" value="<?php echo $rs["name5"]; ?>" id="ratedes" placeholder="Enter Rate"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Value</label> <input name="price[]" type="text" class="form-control" value="<?php echo $rs["name2"]; ?>" id="price" placeholder="Enter Value"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Quanity</label> <input name="quantity[]" type="text" id="quantity1w" value="<?php echo $rs["name3"]; ?>" class="form-control"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Rate Unit</label> <input name="unit[]" type="text" class="form-control" value="<?php echo $rs["name1"]; ?>" id="unit" placeholder="Enter Unit"> </div> </div> <!--<div style="width:500px;"> <div class="form-group"> <label>Rate Product Image 1</label> <input name="file4[]" type="text" class="form-control" value="<//?php echo $rs["file1"]; ?>" id="file4" placeholder="File Upload"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Rate Product Image 2</label> <input name="file5[]" type="text" class="form-control" value="<//?php echo $rs["file2"]; ?>" id="file5" placeholder="File Upload"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Rate Product Image 3</label> <input name="file6[]" type="text" class="form-control" value="<//?php echo $rs["file3"]; ?>" id="file6" placeholder="File Upload"> </div> </div>--> <div style="width:500px;"> <div class="form-group"> <input type="button" value="Remove" class="btn form-control btn-danger" onclick="removeProductrow(<?php echo $rs["id"]; ?>)"> </div> </div> </div> <br> <input name="tsldqnt[]" type="hidden" class="form-control" value="p13w" id="price" placeholder="Enter Value"> <input name="tnldqnt[]" type="hidden" class="form-control" value="<?php echo $rs["id"]; ?>" id="price" placeholder="Enter Value"> <?php } else { ?> <div id="re<?php echo $rs["id"]; ?>"> <div style="width:500px;"> <div class="form-group"> <label>Rate</label> <input name="rate[]" type="text" class="form-control" value="<?php echo $rs["name4"]; ?>" id="rate" placeholder="Enter Rate"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Rate Description</label> <input name="ratedes[]" type="text" class="form-control" value="<?php echo $rs["name5"]; ?>" id="ratedes" placeholder="Enter Rate"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Value</label> <input name="price[]" type="text" class="form-control" value="<?php echo $rs["name2"]; ?>" id="price" placeholder="Enter Value"> </div> </div> <div style="width:500px;"> <div class="form-group"> <label>Quanity</label> <input name="quantity[]" type="text" id="quantity1w" value="<?php echo $rs["name3"]; ?>" class="form-control"> </div> </div> <input name="unit[]" type="hidden" class="form-control" value="<?php echo $rs["name1"]; ?>" id="unit" placeholder="Enter Unit"> <input name="file4[]" type="hidden" class="form-control" value="<?php echo $rs["file1"]; ?>" id="file4" placeholder="File Upload"> <input name="file5[]" type="hidden" class="form-control" value="<?php echo $rs["file2"]; ?>" id="file5" placeholder="File Upload"> <input name="file6[]" type="hidden" class="form-control" value="<?php echo $rs["file3"]; ?>" id="file6" placeholder="File Upload"> <div style="width:500px;"> <div class="form-group"> <input type="button" value="Remove" class="btn form-control btn-danger" onclick="removeProductrow(<?php echo $rs["id"]; ?>)"> </div> </div> </div> <br> <input name="tsldqnt[]" type="hidden" class="form-control" value="p13w" id="price" placeholder="Enter Value"> <input name="tnldqnt[]" type="hidden" class="form-control" value="<?php echo $rs["id"]; ?>" id="price" placeholder="Enter Value"> <?php } $i++; } ?> <div style="width:500px;"> <div class="form-group"> <input type="button" value="Remove Parent Category" class="btn form-control btn-danger btn_remove" id="otherType"> </div> </div>