OK. Try this...
This sets the link with id used as identifier..
<?php
while($row = mysql_fetch_array($result))
{
echo '<a href="download.php?id='.$row['id'].'">'.$row['title'].'</a>';
}
?>
Then download.php is called with id set to whatever link was clicked...
<?php
$id = $_GET['id'];
$query = "SELECT title, text, date ".
"FROM tbl ".
"WHERE id = '$id'";
$result = mysql_query($query) or die(mysql_error());
while ($row = mysql_fetch_array($result))
{
echo $row['title'];
echo '<br />';
echo $row['text'];
echo '<br />';
echo $row['date'];
echo '<br />';
}
?>
Hope this helps. Didn't test it.
Kevin.