Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

php : repost the parameters

Tags:

php

Is there a way in PHP to repost all the $_POST variables without having to create hidden fields ?

page1.php has form with many form elements and post them to page2.php

page2.php reposts to page3.php without having to recreate all hidden fields

like image 978
yarek Avatar asked Dec 17 '22 15:12

yarek


1 Answers

You can store the values in a session. page2.php sets them, page3.php reads them (and optionally deletes them).

like image 121
Felix Kling Avatar answered Jan 05 '23 10:01

Felix Kling