in reply to Using placeholders in MySQL returning an error

Most likely, your prepare fails. But you aren't testing for it, let alone are you inspecting a possible error message.

Abigail

  • Comment on Re: Using placeholders in MySQL returning an error

Replies are listed 'Best First'.
Re: Re: Using placeholders in MySQL returning an error
by bradcathey (Prior) on Jan 16, 2004 at 18:13 UTC
    I was testing with || die $DBI::errstr;but it wasn't turning up anything different than my  use strict; use warnings; use CGI::Carp qw(fatalsToBrowser); was. I'm not sure what the difference is, i.e., should I expect more detail from the former test? I apologize for not showing all my code in the first post.

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