[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] dbh->quote error I can't see


Ed,

I think it's not saying that $authcode is undefined, it's saying that $dbh is. Looking at:

	my $dbh = $q->param( 'mydbh' );

Usually I store my database handle in the CGI::App object ($self), not the CGI.pm query object ($q). Is it possible that you're doing the same? Of course if your other $dbh calls in this method are working (I only see one prepare in addition to the two commented-out quotes) then your problem is elsewhere.

Your comments say that you "tried manually quoting the values to see if it was something in DBI, but no luck." What do you mean by that? Surely it wouldn't have given the same error, since you're no longer using quote. What does it say??

Jaclyn


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.