in reply to Re: Re: Re: Re: Creating a login page
in thread Creating a login page

print $query=>header(); should read
print $query->header();

you stomped on $query and wound up with the same problem.