Hi all, I am a little bit stuck on something I am working on at the moment. Heres the problem:
I am running a login procedure that works like this
if the form hasnt been submitted
{
display the form
}
elseif (ie it has been submitted)
{
check the user exists etc etc
}
else (ie if the user does exist etc)
{
Open A new page
}
*It is the Opening of the new page that doesnt seem to work. in the past ive always used "header("Location:pagename.php");" and that has worked fine, but now it just returns an error saying the header info has already been sent.
I was wondering if anyone had any advice or any alternatives to using the header function...(something that will open a different page, but not in a new window).
Any help is much appreciated,
Thanks,
Andrew