you can print the $lessonID after the Datails word...
I don't like saying this but my version still created the same output like navi17's example,
decide which is shorten or which comes earier
echo "<tr>
<td><a href='details.php?lessonID=$lessonID'>Details for $subject( $lessonID )</a></td>
<td>$subject</td>
<td>$learningArea</td>
<td>$noofstudents</td>
<td>$minutes</td>
<td>$class</td>
<td> $ability</td>
</tr>" ;
Reputation Points: 12
Solved Threads: 11
Junior Poster in Training
Offline 69 posts
since Jun 2009