File manager - Edit - /home/autoph/public_html/pms_v1/userguide/viewPolicyData.php
Back
<?php include_once("../../../cfg/conn.php"); //error_reporting(0); if(isset($_POST['view'])){ $count = 0; $titleID = $_POST['titleID']; $getGuide = "SELECT * FROM `ahg_policy_data` WHERE `deleted`='0' AND `policy_id`= '$titleID' ORDER BY `seq_no` ASC"; //$getAreaList = "SELECT * FROM `pms_area_tbl` WHERE deleted ='0'"; $getStep = mysqli_query($conn,$getGuide); $statRow = mysqli_num_rows($getStep); echo "<table class='w-100'>"; echo "<thead>"; echo "<th class='col-1 text-center'>REF#</th>"; echo "<th class='col-3 text-center'>POLICY TITLE</th>"; echo "<th class='col-8'>POLICY DATA</th>"; echo "</thead>"; if($statRow > 0){ while($row = mysqli_fetch_array($getStep)){ $count = $count + 1; ?><tr onclick="javascript:getInfoStep(this);" ><?php echo "<td class=' text-center'>".$row['ref_no'] ."</td>"; echo "<td class=' text-left'>".$row['policy_title']."</td>"; echo "<td class=' text-left'>".$row['policy_content']."</td>"; echo "<tr>"; } } echo "</table>"; $conn->close(); } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings