Hello my idea here is to show values from my database so far I’ve been using this code.
<td><?php echo @$get_display->student_id ?></td>
Now what I am going to do next is make the student_id value be able to redirect the user to
my search page via a href and the search page be able to retrieve the student_id so it may be able to search the student so far this is my code.
After my SQL select statement i declared.
$student_id= $_GET['student_id'];
this is my code to a href to search page but i can’t manage to make it working.
<td class="text"><a href="search_enroll.php?ID=<?php .$student_id ?>">
<?php echo @$get_display->student_id ?></a></td>
Any form of help is highly appreciated thank you.
Try this