how to redirect a page using the if else statement ?
Posted: Sun Feb 21, 2016 8:12 pm
Hi ,
I want to redirect the users when if statement got failed.like below
If (status=ok)
{
echo Execute the code here;
}
else
{
redirect to some other page// here I want to know the code for redirect the page
}
Thanks for reading this.kindly suggest the solution
I want to redirect the users when if statement got failed.like below
If (status=ok)
{
echo Execute the code here;
}
else
{
redirect to some other page// here I want to know the code for redirect the page
}
Thanks for reading this.kindly suggest the solution