Guest User

Untitled

a guest
Jan 18th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. $type = $_GET['type'];
  2.  
  3. echo "<table>";
  4. echo "<table><tr><th><a href=file.php?type="' . $result['Alphabetic'] .'"></a>Alphabetic</th><th>Numeric</th><th>Date</th><th>Unsortable</th></tr>";
  5. $sql = mysqli_query($db, "SELECT * FROM test_table2 GROUP BY $type DESC");
  6. while ($result = mysqli_fetch_array($sql))
  7. {
  8. echo '<tr><td>' . "'.$result['Alphabetic']."</td></tr>";
  9. }
  10. echo "</table>";
Add Comment
Please, Sign In to add comment