G'day smith19,
Welcome to the monastery.
Where you have "dbi->prepare", you probably want "$dbh->prepare".
Prior to that line, you may want "chomp $sqlstatement;". You could add a "print $sqlstatement;" to check the string you're passing to prepare().
-- Ken
In reply to Re: multiple sql command output to a array variable
by kcott
in thread multiple sql command output to a array variable
by smith19
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |