get result from db when clicking on a link
<p>I am trying to get results from database when clicking on a link. </p>

<p>Just think there is link called <code>students</code> on my page and when click on it now I want to get all students from db and need to display in separate page lets called it search.php. </p>

<p>I have a list of such links and need to get different results from clicking on each link. </p>

<p>My problem is how search.php page identify which link is click by users and then how to display result belong to clicked link. </p>

<p>can anybody pointed me with correct logic to this. </p>

<p>Thank you. </p>
