in reply to Re: $hour_insert_sth->execute showing error
in thread $hour_insert_sth->execute showing error

I scrolled twice trice up to my mouse wheel cracks. Still I don't get that one. Thank you

  • Comment on Re^2: $hour_insert_sth->execute showing error

Replies are listed 'Best First'.
Re^3: $hour_insert_sth->execute showing error
by poj (Abbot) on Nov 04, 2015 at 10:27 UTC

    I expect you would have seen it written like this

    my $sql = "insert into esme_hourly_master values (?,?,?,?,?,?,?,?,?,now(),?"; my $hour_insert_sth = $hour_master_db->prepare($sql);
    poj
      my $sql = "insert into esme_hourly_master values (?,?,?,?,?,?,?,?,?,now(),?";

      U misses the ')' to close the values. Or it's like that only