Send POST in php

0

I have a php file (crtEnfr.php) to which I sent a POST from another file (enfForm.php) to print a result in a table ...

But I would like to send the same value of the POST that is in crtEnfr.php to another file (print_view.php)

I know it has to be something very basic, but how can I do it?

Greetings

    
asked by 21.06.2018 в 10:49
source

1 answer

1

File crtEnfr.php :

<?php

session_start();

$_SESSION['post'] = $_POST;

File print_view.php :

<?php

session_start();

$post = $_SESSION['post'];

var_dump($post);
    
answered by 21.06.2018 в 11:44