Home How to store variable value after clicking "Submit"?

# How to store variable value after clicking "Submit"?

dogshort
1#
dogshort Published in 2017-12-06 15:42:01Z
 Solution:   I have this php page with two forms:   When I click the submit form "typeAnag" I obtain in the url ../index.php?typeAnag=all and for the form "filter" ../index.php?filter=word But I would like to store the value typeAnag=all and composite my url like this: ../index.php?typeAnag=all&filter=word But when I click the form, I lost the variable value of the previous submit. I try to use \$_SESSION but doesn't work. Any help would be appreciated
Rastislav Struhár
2#
Rastislav Struhár Reply to 2017-12-06 16:02:06Z
 Problem is when u click on second form data in url will be contain just elements from that form not from first form so if u want in second form get information about typeAnag u need to create hidden input in second form....
 You need to login account before you can post.
Processed in 0.304264 second(s) , Gzip On .