in reply to Re^2: MySQL INSERT in Perl
in thread MySQL INSERT in Perl
"I've updated the code and $ins_rec prints nothing"
That's a big problem, right? So you now have two jobs:
First: find out why $ins_rec is empty when you try to send an INSERT to MySQL.
Second: Convert your program to use placeholders so that you are not subjecting yourself to possibly corrupt SQL or SQL injection attacks due to unescaped metacharacters.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: MySQL INSERT in Perl
by baperl (Sexton) on Aug 04, 2011 at 18:04 UTC | |
by davido (Cardinal) on Aug 04, 2011 at 18:08 UTC | |
by baperl (Sexton) on Aug 04, 2011 at 18:13 UTC | |
by baperl (Sexton) on Aug 04, 2011 at 18:25 UTC | |
by davido (Cardinal) on Aug 04, 2011 at 19:54 UTC | |
|