If I understand what you are asking, forms may post to the same "page" that they are on.
To do so, you could do something like:
<?php
if(!isset($_POST['submit']))
{
// display the form
}
else
{
// else, form submitted, process POST data
}
If I misunderstood what you were asking, I apologize... Long day... LOL!