Hi everyone, I want to make sure a some values are added into a table but am having some problems.. I'm trying to use the following
$dbh = DBI->connect('dbi:mysql:dbname','user','passwd');
if($dbh->do("insert into <table-name> value('$data1','$data2 etc...)") == 1) { blah blah } else { blah blah }
But I keep on getting an error about an undefined subroutine... help please..
TIA
SImon