Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php post variables to another page with submit button php

<html>
<form id="form" action="webAddressYouWantToRedirectTo.php" method="POST">
<input type="hidden" name="expectedPOSTVarNameOnTheOtherPage" value="<?php echo $varYouMadePreviouslyInProcessing ?>">
</form>
<script>
document.getElementById("form").submit();
</script>
</html>
Comment

PREVIOUS NEXT
Code Example
Php :: acf create post with fields 
Php :: custom autoload without composer 
Php :: carbon create from format 
Php :: select option in laravel 
Php :: how to install laravel 
Php :: last_insert_id() php 
Php :: how to upload two files on same form different path in codeigniter 
Php :: install php pdo mysql PHP5.6 alpine-apache 
Php :: php slice last arrat 
Php :: laravel migrations rename table 
Php :: laravel mysql specified key was too long 
Php :: composer create project 
Php :: php explode end 
Php :: storepublicly laravel 
Php :: php get 
Php :: laravel tinker hash password 
Php :: codeigniter 3 or where in 
Php :: how to make core controller codeigniter 3 more than 1 
Php :: print in file php 
Php :: laravel e commerce full project 
Php :: session() in lumen 
Php :: pmxi_gallery_image 
Php :: laravel on cascade set null 
Php :: symfony messenger routing 
Php :: aws sdk php 
Php :: laravel notification attach file 
Php :: route() and with() in laravel 
Php :: how to send data from html to php 
Php :: secure random number php 
Php :: php json_encode indent 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =