File manager - Edit - /home/autoph/public_html/pms_v1/userguide/viewAdminGuide.php
Back
<?php include_once("../../../cfg/conn.php"); //error_reporting(0); if(isset($_POST['view'])){ $count = 0; $titleID = $_POST['titleID']; $getGuide = "SELECT * FROM `admin_book_data` WHERE `deleted`='0' AND `book_id`= '$titleID' ORDER BY `book_seq` 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'>STEPS</th>"; echo "<th class='col-11'>INSTRUCTIONS</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['book_seq'] ."</td>"; echo "<td class=' text-left'>".$row['book_data']."</td>"; echo "<tr>"; } } echo "</table>"; $conn->close(); } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings