Simon simon@sparksy.org.uk wrote:
if($dbh->do("insert into <table-name> value('$data1','$data2 etc...)") == 1)
General probably-unrelated-to-your-problem point: you probably want to use prepare() with ? placeholders and then execute() with the $data1, $data2, etc unless you're really sure that you don't need to escape the data in any way.
#include <anti-perl-rant>
MJR