<link rel="stylesheet" type="text/css" href="table.css"> <div class = "outertb"> <table id="tble" align="center"> <thead><tr id='tableHeader'> <th style='width:3%;' onclick=sortTableX(0);>id</th><th style='width:70%;' onclick=sortTableX(1);>Title</th><th onclick=sortTableX(2); style='width:5%;'>TAS</th><th style='width:5px;'>Scode</th><th style='width:10px;'>Update</th> </tr></thead><tr> <?php require_once "configs.php"; $sql = "SELECT * FROM fixa where scode like "."'q%'"."order by id,scode,title"; $res = $db->query($sql); $i=0; while ($row = $res->fetchArray()) { echo "<td>{$row['id']}</td><td>{$row['title']}</td><td> {$row['tas']}</td><td> {$row['scode']} </td>"; echo "<td><a href='zupdtfixa.php?id=". $row['id'] ."' title='Update O1' data-toggle='tooltip' class='button1 grey'>📝</a></td>"; $i++; echo "</tr>"; } ?> </table> </div> <!-- end outertb -->
Edit file:zlistq-20210911134608.php1261