[eluser]MonsterTKE[/eluser]
Cool, I spent a few minutes thinking about a code flow for this. Mainly I am trying to keep the backend behavior and the comment/whatever part of the same series of actions.
Code:
foreach ($result as $row)
<a href="#" id="thing_{$row->id;}">clicky</a>