<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:40%;' onclick=sortTableX(1);>Title</th><th onclick=sortTableX(2); style='width:5%;'>TAS</th><th style='width:10px;'>⚙scode </th><th style='width:10px;'>⚙Set</th> </tr></thead><tr> <?php require_once "configs.php"; $sql = "SELECT * FROM fixa where scode like "."'p%'"."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'>📝Update</a></td>"; $i++; echo "</tr>"; } ?> </table> </div> <!-- end outertb -->
Edit file:zlistp-20210911134833.php1280