Help for this page
$dbh->do("UPDATE settings SET limit='$p'") or die $dbh->errstr;
You have an error in your SQL syntax near 'limit='33'' at line 1 at ca +rt.pm line 1246.