JREAM Posted June 11, 2009 Share Posted June 11, 2009 Is there a way to do this.. 1. You save a page through a form. 2. The form does a header location.. 3. You post a variable to the refreshed page to give the status. would it be something like this: header('location: xyz.php?status=good'); then at the top of the page, if ($status == 'good'){ echo 'good';} Quote Link to comment https://forums.phpfreaks.com/topic/161762-posting-variable-after-a-header-refresh/ Share on other sites More sharing options...
.josh Posted June 11, 2009 Share Posted June 11, 2009 variables passed through the query string can be retrieved with $_GET['variablename'] Quote Link to comment https://forums.phpfreaks.com/topic/161762-posting-variable-after-a-header-refresh/#findComment-853546 Share on other sites More sharing options...
JREAM Posted June 11, 2009 Author Share Posted June 11, 2009 okay thank you ill do that Quote Link to comment https://forums.phpfreaks.com/topic/161762-posting-variable-after-a-header-refresh/#findComment-853557 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.