title: php - delete single record on single page form submit
body: <p>I'm pretty new to PHP, so please forgive me if this question is obnoxiously noob...</p>
  
  <p>I have a page that lists close to 150 records from a database.  I want the user to only be able to delete one record at a time (no checkboxes).  I want there to be a delete button next to each name, and when the user clicks it, the page refreshes with the updated list and success message above saying: "%Name% was deleted successfully". (where %Name% is the actual name they deleted)</p>
  
  <p>My question is: Can I do this with a form?  If so, what form element would I assign the Name and delete button to?</p>
  
  <p>Or, do I need to set the delete button as an anchor element, with the URL set to a page that can process the delete request, then redirects the user back (my concern there is the only way I can send the "Success" message back, that I know of is through a Session variable, is that ok?)</p>
  
  <p>Or, is there some other way completely that I don't know of?</p>
  
  <p>Any feedback would be greatly appreciated.
  Thanks</p>