You have a typo - change:
$sth = $dbh->perpare($sql);
to:
$sth = $dbh->prepare($sql);
----
Cheers,
Dan
Founder and CEO
LionsGate Creative
GoodPassRobot
Magelln
$sth = $dbh->perpare($sql);
to:
$sth = $dbh->prepare($sql);
----
Cheers,
Dan
Founder and CEO
LionsGate Creative
GoodPassRobot
Magelln