这句
$db->Execute($sql);
这样写
$db->Execute($sql) or die($db->ErrorMsg());看看
错误提示是什么?