in reply to Re: Re: Re: Re: problems with ODBC...
in thread problems with ODBC...

what do i do?

You dropped the line that prepares the query (and you renamed a variable). $dbh is holding a connection object, not a statement handle object. Your original example got this part right.