How to submit HTML form to self page (same page) with HTML or PHP

2 Answers

0 votes
<form method="post" action="">

 



answered Dec 28, 2018 by avibootz
0 votes
 <form method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>">

 



answered Dec 28, 2018 by avibootz
...