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
In form action I want to use page name with parameters. like house.php?p_id=10111
. But $_SERVER['PHP_SELF'] gives only the house.php
(My page full url is house.php?p_id=10111
like this) Please help me to solve this problem. thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…