Jump to content

Keep get variables after submit


klepec

Recommended Posts

I have an url, for example:

something.com/page.php?value=something

 

$test = mysql_real_escape_string($_GET['value']);

 

I require this variable $test after the submit button is pressed, but the url does not keep it anymore. (../page.php).

Is there a way i could keep it after the submit?

 

if (isset($_POST["Submit"])) {

operating with $test...

}

form...

Link to comment
https://forums.phpfreaks.com/topic/260325-keep-get-variables-after-submit/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.