PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
// Check to see if they were accepted, if so send them to thier specified pages
if ($accepted == "True")
{
// Send to voting page
}
else
{
// Send to Oops! page
}
<?php
// Check to see if they were accepted, if so send them to thier specified pages
if ($accepted == "True")
{ // url can be a variable (like I have here) or hard-coded. It can also be relative or absolute.
header("Location: ".$your_url_goes_here);
}
else
{
header("Location: ".$your_url_goes_here);
}
?>