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';} 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'] 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 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
Archived
This topic is now archived and is closed to further replies.