PHP _SELF code example
Example 1: php server self
<form action="<?php echo $_SERVER['PHP_SELF']; ?>">
//there is no reason to use this to submit form data to the same page
<form action="">
//will do the same thing
Example 2: php self
<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" >