try
<code>echo '<a href="showit.php?id=$id">$name</a>';</code>
If you had a table with an id, short name and then a big text field then showit would be passed the id and could then query the table and give back the short name and text. However the user just clicks on the short name.
Dummy up a table and create a test script to see how it works, then apply to your situation.