I have a php form like this.
<form name="form1" id="mainForm" method="post"enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF'];?>">
</form
I want to use the page name with parameters in the form action. similar to house.php?p id=10111 However, just the house.php is returned by $_SERVER['PHP SELF'] (my page's entire address is house.php?p id=10111). I need your assistance to address this issue. thanks.