$POST refers to the global array whose values it gets from forms that 'post'. In those forms, the names of the textboxes, textareas, selects, etc get put into the $POST array when the form is sent with action='post'.
I wasn't sure how you were setting up register_id. I assumed that you were posting it from the previous page.