UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
epanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
fill_former_equipment_details.php
<?php require_once "../panelassets/config.php"; /*function get_total_row($connect) { $query = " SELECT * FROM tbl_webslesson_post "; $statement = $connect->prepare($query); $statement->execute(); return $statement->rowCount(); } $total_record = get_total_row($connect);*/ $farmerid= $_POST['farmer_id']; $query = "SELECT feid ,equipmentname,qty FROM v_farmerequipmentdetails where farmerid ='".$farmerid."' and isdeleted=0"; $filter_query = $query; $statement = $connect->prepare($query); $statement->execute(); $total_data = $statement->rowCount(); $statement = $connect->prepare($filter_query); $statement->execute(); $result = $statement->fetchAll(); $total_filter_data = $statement->rowCount(); $sno=1; if ($total_filter_data ==0) { $msg="No Record Found"; echo $msg; return; } $output = ' <table class="table table-striped table-bordered"> <tr> <th>S.No.</th> <th>Equipment</th> <th>Qty</th> <th></th> </tr> '; if ($total_data > 0) { foreach ($result as $row) { $output .= ' <tr> <td>'.$sno.'</td> <td>'.$row["equipmentname"].'</td> <td>'.$row["qty"].'</td> <td><button onclick="remove('.$row["feid"].');"><i class="glyphicon glyphicon-trash"></i></button></td> </tr> '; $sno=$sno+1; } } else { $output .= ' <tr> <td colspan="8" align="center">No Data Found</td> </tr> '; } $output .= ' </table> <br /> '; echo $output; ?>
Copyright © 2025 - UnknownSec