$_SERVER['SCRIPT_FILENAME']
just tells you what page you are looking at...
i was making the page submit to itself... this way if you named the page something different than me the script would still work
$_POST holds all the things in a form that uses <form method='post'>
the page checks _POST to see if there is anything there.... if there is anything there you assume the user just submitted the form....
if the just submitted the form
$_POST['action'] should be set
$_POST['action'] should contain the text of the button that was pressed
depending on what button was pressed you either update the infromation or delete the information or do something else to it...