Remove the type='submit' part of your button - that's causing the page to postback (you're submitting the form) and resetting your page back to how it was when you started.
You could try changing it to a instead, like this:
<button type="button" name=".$dbRow["ID"]." value='Complete' />