you stomped on $query and wound up with the same problem.
In reply to Re: Re: Re: Re: Re: Creating a login page by japh in thread Creating a login page by mnlight