Hello,
I have a page I wrote that displays applicant details for a site I maintain. however, I would like to add the ability to change the application status with the click of one of two buttons... Accepted or Denied.
In the end, this page will show all pending applicants only.
I know what the problem is, I just cannot find the fix to it. I need a way of getting the value of the record to be updated into my query.
Here's what I have...
The queries work when I hard code in an app_id, but when I try to assign the value, it only remembers the last app_id it looped through. How do I make it get the correct app id?
Here's the page almost working

tr-clan.net/forms/applicants.php It is not currently excluding any particular status yet, not until I get this fixed.
Thanks in advance for any help!!
Smitty