Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perl with Insert query

by hippo (Chancellor)
on Jul 29, 2019 at 10:10 UTC ( #11103558=note: print w/replies, xml ) Need Help??


in reply to Perl with Insert query

You have not bound any arguments to your placeholders. Neither have you checked the results of any of your DBI method calls which would have alerted you to there being a problem.

my $res = $sth->execute ($session_id, $employeename); warn "Cannot insert $session_id, $employeename into employee_details ( +res is $res): " . $dbh->errstr unless $res;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2019-09-18 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (236 votes). Check out past polls.

    Notices?