I have a page page1.php. When I add a variable to the URL I display a form on that page: page1.php?var=1.
I process a form from page1.php. On submit I hit the same page, Insert/Update to my db and then load the page again.
Currently once I process db query, the page page1.php loads as expected. However I’d like to load it with a variable page1.php?var=1.
I've attempted using the following but I think there's got to be a better way.
echo "<meta http-equiv='Refresh' content='.2; URL=page1.php?var=1>";
I can not use HEADER statement since I already set header.
What is the best possible solution?