I have a very basic question... In a php function I'm redirecting if a value returns FALSE otherwise continuing the code.
flibbertigibbet()
{
$value = true_or_false();
if ($value == FALSE)
{
//redirect to another controller method
}
//the rest of the code
}
What happens after the redirect? Does the code break or does a little execute if say.. the redirect takes longer to load?
Is it good practice to use exit()
after redirects?