in reply to multiple sql command output to a array variable

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

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.