Using PHP to submit a form to itself
In an earlier post, we see how php can be used to check if the form has been submitted:
http://bitspiecesphp.blogspot.com/2008/05/using-php-to-check-is-form-has-been.html
The following code indicates how to sumbit the page to itself. Just include the php code in the action attribute of the form tag of your html. The server will resubmit the page to itself when activated.
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">