Here's my code:
now, how can I save these in session, so that whenever I go to new link, the table is still there. Thanks guys.
while($row = mysqli_fetch_assoc($locate)){
echo "<tr>";
echo "<td>" . $row['id'] . "</td>";
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['grade'] . "</td>";
echo "<td>" . $row['section'] . "</td>";
echo "<td>" . $row['subject'] . "</td>";
$namers = $row['name'];
//echo "<td><center> <button name = 'name1' type = 'submit' value = '$namers'>Go</button> </center></td>";