File manager - Edit - /home/autoph/public_html/pms_v1/apr/searchDepartment.php
Back
<?php include_once("../../../cfg/conn.php"); error_reporting(0); if(isset($_POST['iSearch'])){ $searchString= $_POST['sDept']; $getUnit = "SELECT * FROM `pms_department_tbl` WHERE `deleted`=0 AND `dept_name` LIKE '%$searchString%' ORDER BY `dept_name` ASC LIMIT 20"; $getU = mysqli_query($conn,$getUnit); $statRow = mysqli_num_rows($getU); while($row = mysqli_fetch_array($getU)){ ?><tr onclick="javascript:deptMenuID(this);" ><?php echo "<td class='menuItem'>".$row['id']."</td>"; echo "<td class='menuItem'>".$row['dept_name']."</td>"; echo "</tr>"; } $conn->close(); } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings