Snide comment??? Because I said this reads like a first or second assignment in a PHP class?
Sorry, but it does. The fact that you don't know how to make a name clickable also means that you apparently need to learn HTML.
There are *MANY* ways to do this. Examples:
Using a drop down list, where choosing a name automatically brings up the details of that name:
Using individual links to bring up the details, using the id instead of the name to specify which person:
<select name="nameToShow" onchange="this.form.submit();">
<option>--choose a name--</option>
... any number of such names ..
And there are any number of variations on that possible. You choose one and then we can help you implement it.
<a href="showDetails.php?id=3">Adams, Ann</a><br/>
<a href="showDetails.php?id=5">Barnes, Bob</a><br/>
<a href="showDetails.php?id=713">Coleman, Carl</a><br/>
Note that the choice of selecting via id or actual name is not terribly important. Typically you'll get better performance using the id, but if you don't have thousands and thousands of names to worry about you'll never see the difference.