Answers for "how to set form action to same page"

PHP
1

form action on same page in php

<form action="<php echo $_SERVER['php_shelf'] ?>" method="POST">
  <--
  Your inputs here
  --!>
  
  
 </form>
  
 <?php
  if(isset($_POST['your input name']){
  	$input = $_POST['input name'];
  }
  
  ?>
Posted by: Guest on April-15-2021

Code answers related to "how to set form action to same page"

Browse Popular Code Answers by Language