careful tho, there's no undo method or confirmation...
some code i wrote recently looks like this...
<a href=". $_SERVER['PHP_SELF']. "?action=del&filename=". $file . " onClick=\"return confirm('Are you SURE you want to delete this record?')\">Delete</a>
that is more HTML/Javascript but outputs a message box when you click the delete link.
Bookmarks