I am working on something that i want to use in a project. i am to redirect the current page to itself using php and session. The idea is that:
[php]if my $_session[‘insert’]= true; then refresh the page to itself;[/php]
Here is the code:
Page1:
[php]sess_page1.php
Click here to go to the next page[/php]
Page2:
[php]sess_page2.php
[/php]
But the page does not redirect to itself…The whole idea is the page should refresh one time.
What i did wrong here? Can somebody help?