Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Using placeholders in MySQL returning an error

by bradcathey (Prior)
on Jan 16, 2004 at 18:07 UTC ( [id://321856]=note: print w/replies, xml ) Need Help??


in reply to Re: Using placeholders in MySQL returning an error
in thread Using placeholders in MySQL returning an error

Error indicates to me that it is a problem with your $dbh not being initialized
Thanks injunjoel! You were right. It had nothing to do with my prepare statement. And I was testing with  || die $DBI::errstr; but it wasn't turning up anything different than my use warnings; use CGI::Carp qw(fatalsToBrowser); was. I feel badly that it had nothing to do with the prepare but did I ever learn a lot about placeholders from replying monks. Thanks again for the nudge injunjoel and to all monks.

Update: don't know how my reply to injunjoel ended up here. But apologies.

—Brad
"A little yeast leavens the whole dough."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://321856]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found