I was wonder if there is a way that PHP can reload a page (or go to another page) if a criteria is met.
example:
redirect a user from page_a.php (where the user is)
to page_b.php
or reload the page the user is on page_a.php
Sorry about the newb question, but I couldn't find good information in the searchs, either to much or to little info.
thnx
Basic Question
Moderator: General Moderators
If you mean auto refresh no. if you mean have the values of a form being processed on the same page yes. ( look for $_SERVER['PHP_SELF'] )
As for redirect you can use
As for redirect you can use
Code: Select all
header("location:youreredirectpage.php");