Hi I am using MAMP and Netbeans to develop a PHP website,
Application si supposed to look for a username if find it,
will goes to a new page
if($output == 1) //Authenticated = yes
{
header("Location:Member.php");
}
although there is no error it doesn’t go to Member.php page,
please help me out
thx
Header (redirect to new page)
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: Header (redirect to new page)
From the snippet of code it sounds like $output is not equal to 1. Is that the only code on the page?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering