in reply to Re: CGI problem
in thread CGI problem

if ($query_str='')
Your destroying the query string right there. use == or 'eq'