I'm currently porting a project I helped design from .asp to .php, but I can't seem to find a function that acts like .asp's Response.redirect . Generally, I'm looking for a way to make the current page change to another page without user intervention, or depending upon submitted values. Example:
if($value1) == 1
{
// jump to page1.php;
}
else
{
// jump to page error.php;
}
It's probably something easy, but I haven't seen it after poring though 3 large books on PHP.