SHARE
TWEET

Untitled

a guest Jan 18th, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top