or download this
my $dbh = DBI->connect('dbi:mysql:jobs_db', "Poster',
'Poster Password');
...
$sth->execute($JobID,$EmployerID,$EmployerName,$Title,$City,
$StateProvince,$Description,$Function,$Sector,$Country,$Posted)
or die "Failed to execute insert: " . $dbh->errstr;